From e0bf3a087ae0d775d813ad079ec1629d9876c02f Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 12 Aug 2019 13:50:59 -0700 Subject: Run `cargo fmt` --- src/de.rs | 2 +- src/spanned.rs | 1 - test-suite/tests/float.rs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/de.rs b/src/de.rs index 3c94467..f020ac0 100644 --- a/src/de.rs +++ b/src/de.rs @@ -1850,7 +1850,7 @@ impl Error { impl std::convert::From 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 -- cgit v1.2.3