aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/de.rs2
-rw-r--r--src/spanned.rs1
2 files changed, 1 insertions, 2 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;