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 @@ -2347,16 +2347,16 @@ impl<T:Eq> OwnedEqVector<T> for ~[T] {
2347
2347
}
2348
2348
2349
2349
pub trait MutableVector < ' self , T > {
2350
- fn mut_slice ( & mut self , start : uint , end : uint ) -> & ' self mut [ T ] ;
2350
+ fn mut_slice ( self , start : uint , end : uint ) -> & ' self mut [ T ] ;
2351
2351
2352
2352
unsafe fn unsafe_mut_ref ( & self , index : uint ) -> * mut T ;
2353
2353
unsafe fn unsafe_set ( & self , index : uint , val : T ) ;
2354
2354
}
2355
2355
2356
2356
impl < ' self , T > MutableVector < ' self , T > for & ' self mut [ T ] {
2357
2357
#[ inline]
2358
- fn mut_slice ( & mut self , start : uint , end : uint ) -> & ' self mut [ T ] {
2359
- mut_slice ( * self , start, end)
2358
+ fn mut_slice ( self , start : uint , end : uint ) -> & ' self mut [ T ] {
2359
+ mut_slice ( self , start, end)
2360
2360
}
2361
2361
2362
2362
#[ inline( always) ]
You can’t perform that action at this time.
0 commit comments