提交 8f5d698b 编写于 作者: B Brian Anderson

core::raw: uint -> usize

上级 b63cee4a
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#[repr(C)] #[repr(C)]
pub struct Slice<T> { pub struct Slice<T> {
pub data: *const T, pub data: *const T,
pub len: uint, pub len: usize,
} }
impl<T> Copy for Slice<T> {} impl<T> Copy for Slice<T> {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册