File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313{
1414 type Output = I :: Output ;
1515
16- #[ inline( always ) ]
16+ #[ inline]
1717 fn index ( & self , index : I ) -> & I :: Output {
1818 index. index ( self )
1919 }
@@ -24,7 +24,7 @@ impl<T, I> ops::IndexMut<I> for [T]
2424where
2525 I : SliceIndex < [ T ] > ,
2626{
27- #[ inline( always ) ]
27+ #[ inline]
2828 fn index_mut ( & mut self , index : I ) -> & mut I :: Output {
2929 index. index_mut ( self )
3030 }
@@ -390,7 +390,7 @@ unsafe impl<T> SliceIndex<[T]> for ops::Range<usize> {
390390 }
391391 }
392392
393- #[ inline( always ) ]
393+ #[ inline]
394394 fn index ( self , slice : & [ T ] ) -> & [ T ] {
395395 if self . start > self . end {
396396 slice_index_order_fail ( self . start , self . end ) ;
@@ -440,7 +440,7 @@ unsafe impl<T> SliceIndex<[T]> for ops::RangeTo<usize> {
440440 unsafe { ( 0 ..self . end ) . get_unchecked_mut ( slice) }
441441 }
442442
443- #[ inline( always ) ]
443+ #[ inline]
444444 fn index ( self , slice : & [ T ] ) -> & [ T ] {
445445 ( 0 ..self . end ) . index ( slice)
446446 }
You can’t perform that action at this time.
0 commit comments