Run cargo fmt

This commit is contained in:
Graham Esau 2019-12-29 22:09:54 +00:00
parent 98f981634c
commit 58cc7fac25
22 changed files with 57 additions and 74 deletions

View file

@ -38,7 +38,9 @@ mod as_string {
D: Deserializer<'de>,
{
let string = String::deserialize(deserializer)?;
string.parse().map_err(|_| D::Error::custom("Input was not valid"))
string
.parse()
.map_err(|_| D::Error::custom("Input was not valid"))
}
}