chore: some clippy warnings
This commit is contained in:
parent
39f5d1a86d
commit
22103739c3
|
@ -75,13 +75,13 @@ fn create_lib_folder(root: &Path, package_name: &PackageName) -> miette::Result<
|
||||||
let lib = root.join("lib");
|
let lib = root.join("lib");
|
||||||
fs::create_dir_all(&lib).into_diagnostic()?;
|
fs::create_dir_all(&lib).into_diagnostic()?;
|
||||||
let nested_path = lib.join(&package_name.repo);
|
let nested_path = lib.join(&package_name.repo);
|
||||||
fs::create_dir_all(&nested_path).into_diagnostic()?;
|
fs::create_dir_all(nested_path).into_diagnostic()?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn create_validators_folder(root: &Path) -> miette::Result<()> {
|
fn create_validators_folder(root: &Path) -> miette::Result<()> {
|
||||||
let validators = root.join("validators");
|
let validators = root.join("validators");
|
||||||
fs::create_dir_all(&validators).into_diagnostic()?;
|
fs::create_dir_all(validators).into_diagnostic()?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue