std: Demode bitv
This commit is contained in:
parent
6cb3ce9772
commit
1643794e01
@ -1,3 +1,6 @@
|
|||||||
|
#[forbid(deprecated_mode)];
|
||||||
|
#[forbid(deprecated_pattern)];
|
||||||
|
|
||||||
use vec::{to_mut, from_elem};
|
use vec::{to_mut, from_elem};
|
||||||
|
|
||||||
export Bitv, from_bytes, from_bools, from_fn;
|
export Bitv, from_bytes, from_bools, from_fn;
|
||||||
@ -95,7 +98,7 @@ struct BigBitv {
|
|||||||
mut storage: ~[mut uint]
|
mut storage: ~[mut uint]
|
||||||
}
|
}
|
||||||
|
|
||||||
fn BigBitv(-storage: ~[mut uint]) -> BigBitv {
|
fn BigBitv(+storage: ~[mut uint]) -> BigBitv {
|
||||||
BigBitv {storage: storage}
|
BigBitv {storage: storage}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user