@@ -825,7 +825,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
825
825
unsafe { self . tail . as_mut ( ) . map ( |node| & mut node. as_mut ( ) . element ) }
826
826
}
827
827
828
- /// Adds an element to the front of a list.
828
+ /// Adds an element to the front of the list.
829
829
///
830
830
/// This operation should compute in *O*(1) time.
831
831
///
@@ -847,7 +847,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
847
847
let _ = self . push_front_mut ( elt) ;
848
848
}
849
849
850
- /// Adds an element to the front of a list, returning a reference to it.
850
+ /// Adds an element to the front of the list, returning a reference to it.
851
851
///
852
852
/// This operation should compute in *O*(1) time.
853
853
///
@@ -899,7 +899,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
899
899
self . pop_front_node ( ) . map ( Node :: into_element)
900
900
}
901
901
902
- /// Adds an element to the back of a list.
902
+ /// Adds an element to the back of the list.
903
903
///
904
904
/// This operation should compute in *O*(1) time.
905
905
///
@@ -919,7 +919,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
919
919
let _ = self . push_back_mut ( elt) ;
920
920
}
921
921
922
- /// Adds an element to the back of a list, returning a reference to it.
922
+ /// Adds an element to the back of the list, returning a reference to it.
923
923
///
924
924
/// This operation should compute in *O*(1) time.
925
925
///
0 commit comments