File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -298,6 +298,7 @@ where
298298 /// # test()
299299 /// # }
300300 /// ```
301+ #[ cfg_attr( feature = "inline-more" , inline) ]
301302 pub fn find_entry (
302303 & mut self ,
303304 hash : u64 ,
@@ -358,6 +359,7 @@ where
358359 /// # test()
359360 /// # }
360361 /// ```
362+ #[ cfg_attr( feature = "inline-more" , inline) ]
361363 pub fn entry (
362364 & mut self ,
363365 hash : u64 ,
@@ -1514,6 +1516,7 @@ where
15141516 /// # test()
15151517 /// # }
15161518 /// ```
1519+ #[ cfg_attr( feature = "inline-more" , inline) ]
15171520 pub fn remove ( self ) -> ( T , VacantEntry < ' a , T , A > ) {
15181521 let ( val, slot) = unsafe { self . table . raw . remove ( self . bucket ) } ;
15191522 (
@@ -1553,6 +1556,7 @@ where
15531556 /// # test()
15541557 /// # }
15551558 /// ```
1559+ #[ inline]
15561560 pub fn get ( & self ) -> & T {
15571561 unsafe { self . bucket . as_ref ( ) }
15581562 }
@@ -1606,6 +1610,7 @@ where
16061610 /// # test()
16071611 /// # }
16081612 /// ```
1613+ #[ inline]
16091614 pub fn get_mut ( & mut self ) -> & mut T {
16101615 unsafe { self . bucket . as_mut ( ) }
16111616 }
@@ -1759,6 +1764,7 @@ where
17591764 /// # test()
17601765 /// # }
17611766 /// ```
1767+ #[ inline]
17621768 pub fn insert ( self , value : T ) -> OccupiedEntry < ' a , T , A > {
17631769 let bucket = unsafe {
17641770 self . table
You can’t perform that action at this time.
0 commit comments