diff options
| author | Patrick Walton <[email protected]> | 2011-03-18 14:01:03 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-03-18 14:01:03 -0700 |
| commit | 0cf16e77ca5a0b9f9dfaaab4dfe253d7a9cc5cce (patch) | |
| tree | dec1d851a353d9992cf58ceaf00e7099de38ad48 /src/lib/bitv.rs | |
| parent | Add some mutable variants of vector functions to the standard library (diff) | |
| download | rust-0cf16e77ca5a0b9f9dfaaab4dfe253d7a9cc5cce.tar.xz rust-0cf16e77ca5a0b9f9dfaaab4dfe253d7a9cc5cce.zip | |
Add "mutable?" to _vec in the standard library; fix callers
Diffstat (limited to 'src/lib/bitv.rs')
| -rw-r--r-- | src/lib/bitv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/bitv.rs b/src/lib/bitv.rs index 2322c693..2029ef52 100644 --- a/src/lib/bitv.rs +++ b/src/lib/bitv.rs @@ -21,7 +21,7 @@ fn create(uint nbits, bool init) -> t { elt = 0u; } - auto storage = _vec.init_elt[mutable uint](elt, nbits / uint_bits() + 1u); + auto storage = _vec.init_elt_mut[uint](elt, nbits / uint_bits() + 1u); ret rec(storage = storage, nbits = nbits); } |