mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-24 04:35:02 +00:00
Update to latest rust master
This commit is contained in:
1 parent
18d943e8a7
commit
ff8c8c77cc
8 files changed
+12
-12
No files matched your search
@@ -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 {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use std::f64;
|
||||
use std::io::{IoError, MemWriter};
|
||||
use std::io;
|
||||
use std::num::{FPNaN, FPInfinite};
|
||||
use std::num::{Float, FPNaN, FPInfinite};
|
||||
|
||||
use ser;
|
||||
use ser::Serializer;
|
||||
|
||||
Reference in new issue
Block a user