Skip to content

Typo in documentation of std::vec: Self should be self (2 times) #92345

Closed
@int-e

Description

@int-e

See the documentation for append here

/// Moves all the elements of `other` into `Self`, leaving `other` empty.

and for append_elements here:

/// Appends elements to `Self` from other buffer.

In both cases, the documentation refers to the object the method is called for, not the type, so it should be using the lower case self. (And maybe other should be in backticks here?)

Metadata

Metadata

Assignees

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions