impl<T> *const T, impl<T> *mut T
This commit is contained in:
@@ -935,6 +935,7 @@ impl<'a> Reader for &'a mut (Reader+'a) {
|
||||
// API yet. If so, it should be a method on Vec.
|
||||
unsafe fn slice_vec_capacity<'a, T>(v: &'a mut Vec<T>, start: uint, end: uint) -> &'a mut [T] {
|
||||
use slice;
|
||||
#[cfg(stage0)]
|
||||
use ptr::PtrExt;
|
||||
|
||||
assert!(start <= end);
|
||||
|
||||
Reference in New Issue
Block a user