diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/libextra/bitv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libextra/bitv.rs b/src/libextra/bitv.rs index 0a5a7d11c6c..9f71dc8a1af 100644 --- a/src/libextra/bitv.rs +++ b/src/libextra/bitv.rs @@ -493,7 +493,7 @@ impl Bitv { * * Both the bitvector and vector must have the same length. */ - pub fn eq_vec(&self, v: ~[bool]) -> bool { + pub fn eq_vec(&self, v: &[bool]) -> bool { assert_eq!(self.nbits, v.len()); let mut i = 0; while i < self.nbits { |
