File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ impl<T: Idx> From<GrowableBitSet<T>> for BitSet<T> {
365
365
/// All operations that involve an element will panic if the element is equal
366
366
/// to or greater than the domain size. All operations that involve two bitsets
367
367
/// will panic if the bitsets have differing domain sizes.
368
- #[ derive( Debug , PartialEq , Eq ) ]
368
+ #[ derive( PartialEq , Eq ) ]
369
369
pub struct ChunkedBitSet < T > {
370
370
domain_size : usize ,
371
371
@@ -1074,6 +1074,12 @@ impl<T: Idx> fmt::Debug for BitSet<T> {
1074
1074
}
1075
1075
}
1076
1076
1077
+ impl < T : Idx > fmt:: Debug for ChunkedBitSet < T > {
1078
+ fn fmt ( & self , w : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
1079
+ w. debug_list ( ) . entries ( self . iter ( ) ) . finish ( )
1080
+ }
1081
+ }
1082
+
1077
1083
impl < T : Idx > ToString for BitSet < T > {
1078
1084
fn to_string ( & self ) -> String {
1079
1085
let mut result = String :: new ( ) ;
You can’t perform that action at this time.
0 commit comments