Skip to content

Commit b243d13

Browse files
authored
Update linked_list.rs
1 parent 2c1b563 commit b243d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/collections/linked_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
919919
let _ = self.push_back_mut(elt);
920920
}
921921

922-
/// Adds an element last in the list, returning a reference to it.
922+
/// Adds an element to the back of a list, returning a reference to it.
923923
///
924924
/// This operation should compute in *O*(1) time.
925925
///

0 commit comments

Comments
 (0)