aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/de.rs2
-rw-r--r--src/spanned.rs1
-rw-r--r--test-suite/tests/float.rs2
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<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