Run cargo fmt
on latest stable
This commit is contained in:
parent
b4a0669b37
commit
52fb87aaf4
2 changed files with 2 additions and 2 deletions
|
@ -242,7 +242,7 @@ impl<'a> Lexer<'a> {
|
|||
return Err(Spanning::zero_width(
|
||||
&old_pos,
|
||||
LexerError::UnknownEscapeSequence(format!("\\{}", c)),
|
||||
))
|
||||
));
|
||||
}
|
||||
'\\' => escaped = true,
|
||||
'"' if !escaped => {
|
||||
|
|
|
@ -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",
|
||||
))
|
||||
));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue