Skip to content

Improve documentation for std::vec::Vec::with_capacity #49448

Closed
@a-coostic

Description

@a-coostic

Can the note "doesn't specify the length" be understood as "leaves length uninitialized"? As this is not the case, maybe something like "specifies the length 0" would be more informative?

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