@@ -825,7 +825,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
825825 unsafe { self . tail . as_mut ( ) . map ( |node| & mut node. as_mut ( ) . element ) }
826826 }
827827
828- /// Adds an element to the front of a list.
828+ /// Adds an element to the front of the list.
829829 ///
830830 /// This operation should compute in *O*(1) time.
831831 ///
@@ -847,7 +847,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
847847 let _ = self . push_front_mut ( elt) ;
848848 }
849849
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.
851851 ///
852852 /// This operation should compute in *O*(1) time.
853853 ///
@@ -899,7 +899,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
899899 self . pop_front_node ( ) . map ( Node :: into_element)
900900 }
901901
902- /// Adds an element to the back of a list.
902+ /// Adds an element to the back of the list.
903903 ///
904904 /// This operation should compute in *O*(1) time.
905905 ///
@@ -919,7 +919,7 @@ impl<T, A: Allocator> LinkedList<T, A> {
919919 let _ = self . push_back_mut ( elt) ;
920920 }
921921
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.
923923 ///
924924 /// This operation should compute in *O*(1) time.
925925 ///
0 commit comments