@@ -1483,7 +1483,7 @@ macro_rules! try_from_secs {
1483
1483
let exp = ( ( bits >> $mant_bits) & EXP_MASK ) as i16 + MIN_EXP ;
1484
1484
1485
1485
let ( secs, nanos) = if exp < -31 {
1486
- // the input represents less than 1ns and cannot be rounded to it
1486
+ // the input represents less than 1ns and can not be rounded to it
1487
1487
( 0u64 , 0u32 )
1488
1488
} else if exp < 0 {
1489
1489
// the input is less than 1 second
@@ -1501,7 +1501,7 @@ macro_rules! try_from_secs {
1501
1501
let add_ns = !( rem_msb || ( is_even && is_tie) ) ;
1502
1502
1503
1503
// f32 does not have enough precision to trigger the second branch
1504
- // since it cannot represent numbers between 0.999_999_940_395 and 1.0.
1504
+ // since it can not represent numbers between 0.999_999_940_395 and 1.0.
1505
1505
let nanos = nanos + add_ns as u32 ;
1506
1506
if ( $mant_bits == 23 ) || ( nanos != NANOS_PER_SEC ) { ( 0 , nanos) } else { ( 1 , 0 ) }
1507
1507
} else if exp < $mant_bits {
@@ -1520,7 +1520,7 @@ macro_rules! try_from_secs {
1520
1520
let add_ns = !( rem_msb || ( is_even && is_tie) ) ;
1521
1521
1522
1522
// f32 does not have enough precision to trigger the second branch.
1523
- // For example, it cannot represent numbers between 1.999_999_880...
1523
+ // For example, it can not represent numbers between 1.999_999_880...
1524
1524
// and 2.0. Bigger values result in even smaller precision of the
1525
1525
// fractional part.
1526
1526
let nanos = nanos + add_ns as u32 ;
0 commit comments