clippy::useless_conversion

This commit is contained in:
Maan2003 2021-06-13 09:25:55 +05:30
parent c9b4ac5be4
commit 6cc6dee9e9
No known key found for this signature in database
GPG key ID: E9AF024BA63C70ED
9 changed files with 16 additions and 22 deletions

View file

@ -140,8 +140,7 @@ fn generate_descriptor_clippy(buf: &mut String, path: &Path) -> Result<()> {
.expect("should be prefixed by what it does")
.strip_suffix(suffix_to_strip)
.map(unescape)
.expect("should be suffixed by comma")
.into();
.expect("should be suffixed by comma");
}
}
clippy_lints.sort_by(|lint, lint2| lint.id.cmp(&lint2.id));