diff options
Diffstat (limited to 'bin/src/fix/all.rs')
-rw-r--r-- | bin/src/fix/all.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/src/fix/all.rs b/bin/src/fix/all.rs index 8c0770d..7f04f2c 100644 --- a/bin/src/fix/all.rs +++ b/bin/src/fix/all.rs | |||
@@ -3,7 +3,7 @@ use std::borrow::Cow; | |||
3 | use lib::{Report, LINTS}; | 3 | use lib::{Report, LINTS}; |
4 | use rnix::{parser::ParseError as RnixParseErr, WalkEvent}; | 4 | use rnix::{parser::ParseError as RnixParseErr, WalkEvent}; |
5 | 5 | ||
6 | use crate::fix::{Fixed, FixResult}; | 6 | use crate::fix::{FixResult, Fixed}; |
7 | 7 | ||
8 | fn collect_fixes(source: &str) -> Result<Vec<Report>, RnixParseErr> { | 8 | fn collect_fixes(source: &str) -> Result<Vec<Report>, RnixParseErr> { |
9 | let parsed = rnix::parse(source).as_result()?; | 9 | let parsed = rnix::parse(source).as_result()?; |
@@ -73,7 +73,7 @@ impl<'a> Iterator for FixResult<'a> { | |||
73 | 73 | ||
74 | Some(FixResult { | 74 | Some(FixResult { |
75 | src: self.src.clone(), | 75 | src: self.src.clone(), |
76 | fixed | 76 | fixed, |
77 | }) | 77 | }) |
78 | } | 78 | } |
79 | } | 79 | } |