Run cargo fmt

This commit is contained in:
Alex Crichton 2019-08-12 13:50:59 -07:00
parent 59c0d52600
commit fd39bc7412
3 changed files with 2 additions and 3 deletions

View file

@ -1850,7 +1850,7 @@ impl Error {
impl std::convert::From<Error> for std::io::Error { impl std::convert::From<Error> for std::io::Error {
fn from(e: Error) -> Self { 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());
} }
} }

View file

@ -1,4 +1,3 @@
use serde::{de, ser}; use serde::{de, ser};
use std::fmt; use std::fmt;

View file

@ -59,7 +59,7 @@ macro_rules! float_inf_tests {
assert_eq!( assert_eq!(
s, s,
"\ "\
sf1 = inf sf1 = inf
sf2 = inf sf2 = inf
sf3 = -inf sf3 = -inf
sf4 = nan sf4 = nan