diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-11-01 19:53:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-02 00:53:39 +0000 |
| commit | 33355e69c2b90220b9668df06689a23d2efdbec5 (patch) | |
| tree | 007187748844be7a117246cc56f8d9bb195b05e7 /library/stdarch/crates/assert-instr-macro/src | |
| parent | 56e4b3dd1f6e0b1597d7e08a53482f3a865c18c1 (diff) | |
| download | rust-33355e69c2b90220b9668df06689a23d2efdbec5.tar.gz rust-33355e69c2b90220b9668df06689a23d2efdbec5.zip | |
Fix some clippy lints (#937)
Diffstat (limited to 'library/stdarch/crates/assert-instr-macro/src')
| -rw-r--r-- | library/stdarch/crates/assert-instr-macro/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/stdarch/crates/assert-instr-macro/src/lib.rs b/library/stdarch/crates/assert-instr-macro/src/lib.rs index 0c03e80653f..e9b027edc16 100644 --- a/library/stdarch/crates/assert-instr-macro/src/lib.rs +++ b/library/stdarch/crates/assert-instr-macro/src/lib.rs @@ -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>() { |
