File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1515///
1616/// That's a long way to say that this should be used in areas where overflow
1717/// is a bug but overflow checking is too slow.
18- pub trait DebugStrictAdd {
18+ pub ( crate ) trait DebugStrictAdd {
1919 /// See [`DebugStrictAdd`].
2020 fn debug_strict_add ( self , other : Self ) -> Self ;
2121}
@@ -37,7 +37,7 @@ macro_rules! impl_debug_strict_add {
3737}
3838
3939/// See [`DebugStrictAdd`].
40- pub trait DebugStrictSub {
40+ pub ( crate ) trait DebugStrictSub {
4141 /// See [`DebugStrictAdd`].
4242 fn debug_strict_sub ( self , other : Self ) -> Self ;
4343}
Original file line number Diff line number Diff line change 33#![ cfg_attr( feature = "nightly" , feature( hasher_prefixfree_extras) ) ]
44#![ deny( clippy:: missing_safety_doc) ]
55#![ deny( unsafe_op_in_unsafe_fn) ]
6+ #![ deny( unreachable_pub) ]
67
78mod int_overflow;
89mod sip128;
You can’t perform that action at this time.
0 commit comments