Skip to content

Document the most common non-trait methods? #283

@cher-nov

Description

@cher-nov

Excuse me if this has already been mentioned and/or discussed somewhere and I just missed it. But I honestly searched and didn't find anything resembling, although for me this was one of the first questions that arose when I started learning Rust 4 years ago.

It would be really great, especially for beginners IMO, to have a list of the most common method names (except those provided by traits, since they're naturally general) that would describe and explain their semantics. Which is currently observed in the form of a fairly implicit notation.

Some examples of the most obvious:

It might make sense to gather some stats on the most repeating names in the standard library, and then extract an appropriate subset of terminology from it.

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