From 1079486539d44b2e70c623fb4948d6e0b9b11812 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 28 Nov 2021 19:25:36 +0530 Subject: remove lint: unquoted_splice --- bin/src/fix/all.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/src/fix') 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) -> Vec { impl<'a> Iterator for FixResult<'a> { type Item = FixResult<'a>; fn next(&mut self) -> Option { - let all_reports = collect_fixes(&self.src, &self.lints).ok()?; + let all_reports = collect_fixes(&self.src, self.lints).ok()?; if all_reports.is_empty() { return None; } -- cgit v1.2.3