parent
fe0544721f
commit
710a363189
@ -1,26 +0,0 @@
|
||||
diff --git a/src/array.rs b/src/array.rs
|
||||
index c0422c7..7ca8c0e 100644
|
||||
--- a/src/array.rs
|
||||
+++ b/src/array.rs
|
||||
@@ -188,7 +188,7 @@ where
|
||||
/// ```rust
|
||||
/// use bitvec::prelude::*;
|
||||
///
|
||||
- /// let bitarr: BitArray<LocalBits, [usize; 1]> = bitarr![0; 30];
|
||||
+ /// let bitarr = bitarr![Lsb0, usize; 0; 30];
|
||||
/// let native: [usize; 1] = bitarr.unwrap();
|
||||
/// ```
|
||||
#[inline(always)]
|
||||
diff --git a/src/array/traits.rs b/src/array/traits.rs
|
||||
index 0733a8a..4b62579 100644
|
||||
--- a/src/array/traits.rs
|
||||
+++ b/src/array/traits.rs
|
||||
@@ -412,7 +412,7 @@ mod tests {
|
||||
let arr: &mut BitArray<Msb0, [u16; 4]> = bits.try_into().unwrap();
|
||||
assert!(arr.not_any());
|
||||
|
||||
- let bits = bits![mut 0; 4];
|
||||
+ let bits = bits![mut LocalBits, usize; 0; 4];
|
||||
let bit_arr: Result<&BitArray<LocalBits, usize>, _> =
|
||||
(&*bits).try_into();
|
||||
assert!(bit_arr.is_err());
|
@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018 myrrlyn (Alexander Payne)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -1 +1 @@
|
||||
SHA512 (bitvec-0.19.6.crate) = b0ff49814a0197e7be7dda7b0781fecf9b02e7ba0301769a89cf236c981736236263bdb5872afc711731d2c84cf8fe696b0dc4e284d24d399675f4ecc6ab7ea4
|
||||
SHA512 (bitvec-1.0.1.crate) = 83d643c5aca020ebbe9094b5aaba6a796e7c3c509228a4348444e57a06bc3a5dd042eed57a2254d91661e73bdab2bc0d1bd02be376906acc6b6d75b5354a8d8e
|
||||
|
Loading…
Reference in new issue