diff options
author | Alex Crichton <alex@alexcrichton.com> | 2019-08-12 13:50:59 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2019-08-12 13:50:59 -0700 |
commit | e0bf3a087ae0d775d813ad079ec1629d9876c02f (patch) | |
tree | 11a1f6b9c2dbb5fbc352d3f21171c53e7ce1e927 | |
parent | 81cfc602b888edbe302eafd78d03bb7b99567cd1 (diff) | |
download | milf-rs-e0bf3a087ae0d775d813ad079ec1629d9876c02f.tar.gz milf-rs-e0bf3a087ae0d775d813ad079ec1629d9876c02f.zip |
Run `cargo fmt`
-rw-r--r-- | src/de.rs | 2 | ||||
-rw-r--r-- | src/spanned.rs | 1 | ||||
-rw-r--r-- | test-suite/tests/float.rs | 2 |
3 files changed, 2 insertions, 3 deletions
@@ -1850,7 +1850,7 @@ impl Error { impl std::convert::From<Error> for std::io::Error { fn from(e: Error) -> Self { - return std::io::Error::new(std::io::ErrorKind::InvalidData, e.to_string()) + return std::io::Error::new(std::io::ErrorKind::InvalidData, e.to_string()); } } diff --git a/src/spanned.rs b/src/spanned.rs index 7cccb32..cf69383 100644 --- a/src/spanned.rs +++ b/src/spanned.rs @@ -1,4 +1,3 @@ - use serde::{de, ser}; use std::fmt; diff --git a/test-suite/tests/float.rs b/test-suite/tests/float.rs index c07d027..4eb3070 100644 --- a/test-suite/tests/float.rs +++ b/test-suite/tests/float.rs @@ -59,7 +59,7 @@ macro_rules! float_inf_tests { assert_eq!( s, "\ - sf1 = inf + sf1 = inf sf2 = inf sf3 = -inf sf4 = nan |