File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ where
363363 /// map.set(4, 2).unwrap();
364364 ///
365365 /// let mut total = 0;
366- /// map.for_each(|_, v: &u64 | {
366+ /// map.for_each(|_, v| {
367367 /// total += v;
368368 /// Ok(())
369369 /// }).unwrap();
@@ -398,7 +398,7 @@ where
398398 /// map.set(4, 2).unwrap();
399399 ///
400400 /// let mut total = 0;
401- /// map.for_each_cacheless(|_, v: &u64 | {
401+ /// map.for_each_cacheless(|_, v| {
402402 /// total += v;
403403 /// Ok(())
404404 /// }).unwrap();
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ where
286286 }
287287 IterItem :: Borrowed ( Pointer :: Dirty ( node) ) => stack. push ( node. pointers . iter ( ) . into ( ) ) ,
288288 IterItem :: Owned ( Pointer :: Dirty ( node) ) => {
289- stack. push ( node. pointers . clone ( ) . into_iter ( ) . into ( ) )
289+ stack. push ( node. pointers . into_iter ( ) . into ( ) )
290290 }
291291 IterItem :: Borrowed ( Pointer :: Values ( kvs) ) => {
292292 for kv in kvs. iter ( ) {
You can’t perform that action at this time.
0 commit comments