-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: 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.Call 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.Relevant to the library team, which will review and decide on the PR/issue.
Description
See the documentation for append here
rust/library/alloc/src/vec/mod.rs
Line 1758 in cc65bf3
| /// Moves all the elements of `other` into `Self`, leaving `other` empty. |
and for append_elements here:
rust/library/alloc/src/vec/mod.rs
Line 1783 in cc65bf3
| /// 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 toolsArea: 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.Call 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.Relevant to the library team, which will review and decide on the PR/issue.