Fix some clippy lints (#937)

This commit is contained in:
Joshua Nelson
2020-11-01 19:53:39 -05:00
committed by GitHub
parent 56e4b3dd1f
commit 33355e69c2
22 changed files with 80 additions and 88 deletions

View File

@@ -179,7 +179,7 @@ impl syn::parse::Parse for Invoc {
continue;
}
if input.parse::<Token![.]>().is_ok() {
instr.push_str(".");
instr.push('.');
continue;
}
if let Ok(s) = input.parse::<syn::LitStr>() {