mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 04:48:01 +00:00
Update to latest rust master
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use std::char;
|
||||
use std::fmt;
|
||||
use std::num;
|
||||
use std::num::Float;
|
||||
use std::str::ScalarValue;
|
||||
use std::str;
|
||||
|
||||
@@ -319,7 +319,7 @@ impl<
|
||||
}
|
||||
}
|
||||
|
||||
let exp: f64 = num::pow(10u as f64, exp);
|
||||
let exp: f64 = 10_f64.powi(exp as i32);
|
||||
if neg_exp {
|
||||
res /= exp;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user