aboutsummaryrefslogtreecommitdiff
path: root/bin/src/fix/all.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-10-26 14:48:28 +0100
committerAkshay <[email protected]>2021-10-26 15:20:23 +0100
commit20d195988de1014517ff1a1c8c1041cff5f88e05 (patch)
tree89b3f1cbce339211cad7f3489592e2bddc5c0518 /bin/src/fix/all.rs
parent393c28566206b4a077be3cfb0e4e931544f0709e (diff)
set internal crates to 0.0.0, bump to v0.2.0v0.2.0
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}