style: code style
This commit is contained in:
@@ -62,8 +62,9 @@ fn main() -> std::io::Result<()> {
|
|||||||
println!("Couldn't access files. Error {}", e);
|
println!("Couldn't access files. Error {}", e);
|
||||||
Err(e).unwrap()
|
Err(e).unwrap()
|
||||||
}
|
}
|
||||||
} {
|
}
|
||||||
|
|
||||||
|
{
|
||||||
let path = entry.unwrap();
|
let path = entry.unwrap();
|
||||||
let path = Path::new(&path).strip_prefix(env::current_dir().unwrap().to_str().unwrap()).unwrap();
|
let path = Path::new(&path).strip_prefix(env::current_dir().unwrap().to_str().unwrap()).unwrap();
|
||||||
if !path.starts_with("target/") {
|
if !path.starts_with("target/") {
|
||||||
@@ -73,8 +74,6 @@ fn main() -> std::io::Result<()> {
|
|||||||
p.parse(path);
|
p.parse(path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user