Skip to content

Include "length" in the documentation for Vec::len(), slice::len() etc. #37866

Closed
@mystor

Description

@mystor

This ensures that someone looking at the Vec documentation who searches for the word "length" to find the method which returns the length of the method will be able to find the method, and also explains the origin of the name if someone is unaware.

I bring this up because one of my coworkers came to me asking for the name of the method, because they were having trouble finding it in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions