File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 6
6
#![ stable( feature = "rust1" , since = "1.0.0" ) ]
7
7
#![ allow( missing_docs) ]
8
8
9
- #[ cfg( test) ]
10
- mod tests;
11
-
12
9
#[ stable( feature = "int_error_matching" , since = "1.55.0" ) ]
13
10
pub use core:: num:: IntErrorKind ;
14
11
#[ stable( feature = "generic_nonzero" , since = "1.79.0" ) ]
Original file line number Diff line number Diff line change 1
- use crate :: ops:: Mul ;
1
+ use std :: ops:: Mul ;
2
2
3
3
#[ test]
4
4
fn test_saturating_add_uint ( ) {
@@ -190,8 +190,8 @@ fn test_uint_to_str_overflow() {
190
190
assert_eq ! ( u64_val. to_string( ) , "0" ) ;
191
191
}
192
192
193
- fn from_str < T : crate :: str:: FromStr > ( t : & str ) -> Option < T > {
194
- crate :: str:: FromStr :: from_str ( t) . ok ( )
193
+ fn from_str < T : std :: str:: FromStr > ( t : & str ) -> Option < T > {
194
+ std :: str:: FromStr :: from_str ( t) . ok ( )
195
195
}
196
196
197
197
#[ test]
You can’t perform that action at this time.
0 commit comments