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 66#![ stable( feature = "rust1" , since = "1.0.0" ) ]
77#![ allow( missing_docs) ]
88
9- #[ cfg( test) ]
10- mod tests;
11-
129#[ stable( feature = "int_error_matching" , since = "1.55.0" ) ]
1310pub use core:: num:: IntErrorKind ;
1411#[ 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 ;
22
33#[ test]
44fn test_saturating_add_uint ( ) {
@@ -190,8 +190,8 @@ fn test_uint_to_str_overflow() {
190190 assert_eq ! ( u64_val. to_string( ) , "0" ) ;
191191}
192192
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 ( )
195195}
196196
197197#[ test]
You can’t perform that action at this time.
0 commit comments