core::raw: uint -> usize
This commit is contained in:
parent
b63cee4a11
commit
8f5d698bac
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ use mem;
|
|||
#[repr(C)]
|
||||
pub struct Slice<T> {
|
||||
pub data: *const T,
|
||||
pub len: uint,
|
||||
pub len: usize,
|
||||
}
|
||||
|
||||
impl<T> Copy for Slice<T> {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue