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 15
15
///
16
16
/// That's a long way to say that this should be used in areas where overflow
17
17
/// is a bug but overflow checking is too slow.
18
- pub trait DebugStrictAdd {
18
+ pub ( crate ) trait DebugStrictAdd {
19
19
/// See [`DebugStrictAdd`].
20
20
fn debug_strict_add ( self , other : Self ) -> Self ;
21
21
}
@@ -37,7 +37,7 @@ macro_rules! impl_debug_strict_add {
37
37
}
38
38
39
39
/// See [`DebugStrictAdd`].
40
- pub trait DebugStrictSub {
40
+ pub ( crate ) trait DebugStrictSub {
41
41
/// See [`DebugStrictAdd`].
42
42
fn debug_strict_sub ( self , other : Self ) -> Self ;
43
43
}
Original file line number Diff line number Diff line change 3
3
#![ cfg_attr( feature = "nightly" , feature( hasher_prefixfree_extras) ) ]
4
4
#![ deny( clippy:: missing_safety_doc) ]
5
5
#![ deny( unsafe_op_in_unsafe_fn) ]
6
+ #![ deny( unreachable_pub) ]
6
7
7
8
mod int_overflow;
8
9
mod sip128;
You can’t perform that action at this time.
0 commit comments