Derive Clone for BitSet.

This commit is contained in:
2018-01-13 13:46:49 +01:00
parent ae6e292c9d
commit 58ae04cb3d

View File

@@ -30,7 +30,7 @@ fn block_bit(x: &u64, d: &u64) -> (u64, u64) {
(x / d, x % d) (x / d, x % d)
} }
#[derive(PartialEq, Eq)] #[derive(PartialEq, Eq, Clone)]
pub struct BitSet { pub struct BitSet {
blocks: Storage, blocks: Storage,
nbits: usize, nbits: usize,