aboutsummaryrefslogtreecommitdiff
path: root/bin/src/fix
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-11-28 13:55:36 +0000
committerAkshay <[email protected]>2021-11-28 13:55:36 +0000
commit1079486539d44b2e70c623fb4948d6e0b9b11812 (patch)
tree7dc80cbfb44d31b8fd63955a290e687a32adbec1 /bin/src/fix
parentcef2deec580acda72e0575b47b6415e5421736a7 (diff)
remove lint: unquoted_splice
Diffstat (limited to 'bin/src/fix')
-rw-r--r--bin/src/fix/all.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/src/fix/all.rs b/bin/src/fix/all.rs
index bbc39e8..7e51d16 100644
--- a/bin/src/fix/all.rs
+++ b/bin/src/fix/all.rs
@@ -57,7 +57,7 @@ fn reorder(mut reports: Vec<Report>) -> Vec<Report> {
57impl<'a> Iterator for FixResult<'a> { 57impl<'a> Iterator for FixResult<'a> {
58 type Item = FixResult<'a>; 58 type Item = FixResult<'a>;
59 fn next(&mut self) -> Option<Self::Item> { 59 fn next(&mut self) -> Option<Self::Item> {
60 let all_reports = collect_fixes(&self.src, &self.lints).ok()?; 60 let all_reports = collect_fixes(&self.src, self.lints).ok()?;
61 if all_reports.is_empty() { 61 if all_reports.is_empty() {
62 return None; 62 return None;
63 } 63 }