Skip to content

Commit 65bf8cd

Browse files
committed
feat(utils): replace the ZeroInit supertrait of BinInteger with Zeroable
`BinInteger` is not covered by stability guarantees, so this is not a breaking change.
1 parent 0c02f29 commit 65bf8cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/r3_kernel/src/utils/int.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use core::{fmt, ops};
22
use num_integer::Integer;
33

4-
use super::{Init, ZeroInit};
4+
use super::{Init, Zeroable};
55

66
/// Get the smallest unsigned integer type capable of representing the specified
77
/// value.
@@ -31,7 +31,7 @@ pub trait BinInteger:
3131
+ ops::DivAssign
3232
+ fmt::Debug
3333
+ Init
34-
+ ZeroInit
34+
+ Zeroable
3535
+ Send
3636
+ Sync
3737
+ num_traits::cast::ToPrimitive

0 commit comments

Comments
 (0)