aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorMaan2003 <[email protected]>2021-06-13 04:55:55 +0100
committerMaan2003 <[email protected]>2021-06-13 04:55:55 +0100
commit6cc6dee9e96d55dbbd8593523551a9981a691147 (patch)
treec9a790918f586acd877908a5b34e6b073d551b49 /xtask
parentc9b4ac5be4daaabc062ab1ee663eba8594750003 (diff)
clippy::useless_conversion
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/codegen/gen_lint_completions.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/xtask/src/codegen/gen_lint_completions.rs b/xtask/src/codegen/gen_lint_completions.rs
index 4aebb02bd..54fcaa0e6 100644
--- a/xtask/src/codegen/gen_lint_completions.rs
+++ b/xtask/src/codegen/gen_lint_completions.rs
@@ -140,8 +140,7 @@ fn generate_descriptor_clippy(buf: &mut String, path: &Path) -> Result<()> {
140 .expect("should be prefixed by what it does") 140 .expect("should be prefixed by what it does")
141 .strip_suffix(suffix_to_strip) 141 .strip_suffix(suffix_to_strip)
142 .map(unescape) 142 .map(unescape)
143 .expect("should be suffixed by comma") 143 .expect("should be suffixed by comma");
144 .into();
145 } 144 }
146 } 145 }
147 clippy_lints.sort_by(|lint, lint2| lint.id.cmp(&lint2.id)); 146 clippy_lints.sort_by(|lint, lint2| lint.id.cmp(&lint2.id));