Run cargo fmt on latest stable

This commit is contained in:
Christian Legnitto 2019-01-25 17:37:34 -08:00 committed by theduke
parent b4a0669b37
commit 52fb87aaf4
2 changed files with 2 additions and 2 deletions

View file

@ -242,7 +242,7 @@ impl<'a> Lexer<'a> {
return Err(Spanning::zero_width(
&old_pos,
LexerError::UnknownEscapeSequence(format!("\\{}", c)),
))
));
}
'\\' => escaped = true,
'"' if !escaped => {

View file

@ -85,7 +85,7 @@ fn derive_from_variant(variant: &Variant, ident: &Ident) -> Result<TokenStream,
_ => {
return Err(String::from(
"Only enums with exactly one unnamed field per variant are supported",
))
));
}
};