aboutsummaryrefslogtreecommitdiff
path: root/bin/src/fix/all.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/src/fix/all.rs')
-rw-r--r--bin/src/fix/all.rs4
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;
3use lib::{Report, LINTS}; 3use lib::{Report, LINTS};
4use rnix::{parser::ParseError as RnixParseErr, WalkEvent}; 4use rnix::{parser::ParseError as RnixParseErr, WalkEvent};
5 5
6use crate::fix::{Fixed, FixResult}; 6use crate::fix::{FixResult, Fixed};
7 7
8fn collect_fixes(source: &str) -> Result<Vec<Report>, RnixParseErr> { 8fn 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}