Browse Source

chore: fix clippy lints

modules
Garrit Franke 3 years ago
parent
commit
3b641370f2
  1. 2
      src/builder/mod.rs

2
src/builder/mod.rs

@ -41,7 +41,7 @@ impl Builder {
Ok(self Ok(self
.in_file .in_file
.parent() .parent()
.expect("Directory has no root") .ok_or("File does not have a parent")?
.to_path_buf()) .to_path_buf())
} }

Loading…
Cancel
Save