aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-08-12 13:50:59 -0700
committerAlex Crichton <alex@alexcrichton.com>2019-08-12 13:50:59 -0700
commite0bf3a087ae0d775d813ad079ec1629d9876c02f (patch)
tree11a1f6b9c2dbb5fbc352d3f21171c53e7ce1e927 /src
parent81cfc602b888edbe302eafd78d03bb7b99567cd1 (diff)
downloadmilf-rs-e0bf3a087ae0d775d813ad079ec1629d9876c02f.tar.gz
milf-rs-e0bf3a087ae0d775d813ad079ec1629d9876c02f.zip
Run `cargo fmt`
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;