File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -317,10 +317,10 @@ macro_rules! impl_Exp {
317
317
}
318
318
( fmt_prec. saturating_sub( prec) , prec. saturating_sub( fmt_prec) )
319
319
}
320
- None => ( 0 , 0 )
320
+ None => ( 0 , 0 )
321
321
} ;
322
322
for _ in 1 ..subtracted_precision {
323
- n/= 10 ;
323
+ n /= 10 ;
324
324
exponent += 1 ;
325
325
}
326
326
if subtracted_precision != 0 {
@@ -392,7 +392,7 @@ macro_rules! impl_Exp {
392
392
// SAFETY: In either case, `exp_buf` is written within bounds and `exp_ptr[..len]`
393
393
// is contained within `exp_buf` since `len <= 3`.
394
394
let exp_slice = unsafe {
395
- * exp_ptr. offset( 0 ) = if upper { b'E' } else { b'e' } ;
395
+ * exp_ptr. offset( 0 ) = if upper { b'E' } else { b'e' } ;
396
396
let len = if exponent < 10 {
397
397
* exp_ptr. offset( 1 ) = ( exponent as u8 ) + b'0' ;
398
398
2
You can’t perform that action at this time.
0 commit comments