Skip to content

libuuid mixes up str and string #15731

Closed
Closed
@sinistersnare

Description

@sinistersnare

The libuuid documentation (and henceforth the source code itself) mixes up string and str in method signatures, specifically the name of the method itself.

Proposed changes:

  • fn to_simple_str(&self) -> String => fn to_simple_string(&self) -> String
  • fn to_hyphenated_str(&self) -> String => fn to_hyphenated_string(&self) -> String
  • fn to_urn_str(&self) -> String => fn to_urn_string(&self) -> String
  • fn parse_string(us: &str) -> Result<Uuid, ParseError> => fn parse_str(us: &str) -> Result<Uuid, ParseError>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions