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?)
See the documentation for
appendhererust/library/alloc/src/vec/mod.rs
Line 1758 in cc65bf3
and for
append_elementshere:rust/library/alloc/src/vec/mod.rs
Line 1783 in cc65bf3
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 maybeothershould be in backticks here?)