File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -755,7 +755,7 @@ where
755
755
/// ll.push(3).unwrap();
756
756
///
757
757
/// // 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();
759
759
/// find.pop();
760
760
///
761
761
/// assert_eq!(ll.pop(), Some(3));
@@ -784,10 +784,10 @@ where
784
784
/// ll.push(2).unwrap();
785
785
/// ll.push(3).unwrap();
786
786
///
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();
788
788
/// find.finish(); // No resort, we did not access the value.
789
789
///
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();
791
791
/// *find += 1000;
792
792
/// find.finish(); // Will resort, we accessed (and updated) the value.
793
793
///
You can’t perform that action at this time.
0 commit comments