提交 1643794e 编写于 作者: B Brian Anderson

std: Demode bitv

上级 6cb3ce97
#[forbid(deprecated_mode)];
#[forbid(deprecated_pattern)];
use vec::{to_mut, from_elem};
export Bitv, from_bytes, from_bools, from_fn;
......@@ -95,7 +98,7 @@ struct BigBitv {
mut storage: ~[mut uint]
}
fn BigBitv(-storage: ~[mut uint]) -> BigBitv {
fn BigBitv(+storage: ~[mut uint]) -> BigBitv {
BigBitv {storage: storage}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册