File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -755,7 +755,7 @@ where
755755 /// ll.push(3).unwrap();
756756 ///
757757 /// // Find a value and update it
758- /// let mut find = ll.as_mut_view(). find_mut(|v| *v == 2).unwrap();
758+ /// let mut find = ll.find_mut(|v| *v == 2).unwrap();
759759 /// find.pop();
760760 ///
761761 /// assert_eq!(ll.pop(), Some(3));
@@ -784,10 +784,10 @@ where
784784 /// ll.push(2).unwrap();
785785 /// ll.push(3).unwrap();
786786 ///
787- /// let mut find = ll.as_mut_view(). find_mut(|v| *v == 2).unwrap();
787+ /// let mut find = ll.find_mut(|v| *v == 2).unwrap();
788788 /// find.finish(); // No resort, we did not access the value.
789789 ///
790- /// let mut find = ll.as_mut_view(). find_mut(|v| *v == 2).unwrap();
790+ /// let mut find = ll.find_mut(|v| *v == 2).unwrap();
791791 /// *find += 1000;
792792 /// find.finish(); // Will resort, we accessed (and updated) the value.
793793 ///
You can’t perform that action at this time.
0 commit comments