@@ -1991,54 +1991,6 @@ impl std::fmt::Debug for FiniteBitSet<u32> {
19911991 }
19921992}
19931993
1994- impl FiniteBitSetTy for u64 {
1995- const DOMAIN_SIZE : u32 = 64 ;
1996-
1997- const FILLED : Self = Self :: MAX ;
1998- const EMPTY : Self = Self :: MIN ;
1999-
2000- const ONE : Self = 1u64 ;
2001- const ZERO : Self = 0u64 ;
2002-
2003- fn checked_shl ( self , rhs : u32 ) -> Option < Self > {
2004- self . checked_shl ( rhs)
2005- }
2006-
2007- fn checked_shr ( self , rhs : u32 ) -> Option < Self > {
2008- self . checked_shr ( rhs)
2009- }
2010- }
2011-
2012- impl std:: fmt:: Debug for FiniteBitSet < u64 > {
2013- fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
2014- write ! ( f, "{:064b}" , self . 0 )
2015- }
2016- }
2017-
2018- impl FiniteBitSetTy for u128 {
2019- const DOMAIN_SIZE : u32 = 128 ;
2020-
2021- const FILLED : Self = Self :: MAX ;
2022- const EMPTY : Self = Self :: MIN ;
2023-
2024- const ONE : Self = 1u128 ;
2025- const ZERO : Self = 0u128 ;
2026-
2027- fn checked_shl ( self , rhs : u32 ) -> Option < Self > {
2028- self . checked_shl ( rhs)
2029- }
2030-
2031- fn checked_shr ( self , rhs : u32 ) -> Option < Self > {
2032- self . checked_shr ( rhs)
2033- }
2034- }
2035-
2036- impl std:: fmt:: Debug for FiniteBitSet < u128 > {
2037- fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
2038- write ! ( f, "{:0128b}" , self . 0 )
2039- }
2040- }
2041-
20421994/// A fixed-sized bitset type represented by an integer type. Indices outwith than the range
20431995/// representable by `T` are considered set.
20441996#[ derive( Copy , Clone , Eq , PartialEq , Decodable , Encodable ) ]
0 commit comments