fix: format code

This commit is contained in:
YuKun Liu committed 2023-05-23 13:47:18 -07:00
1 parent 719015378b
commit aa1a45a14e
8 files changed
+38 -44

No files matched your search

+3 -1
View File
@@ -34,7 +34,9 @@ pub fn crate_root() -> Result<PathBuf> {
}
None
})
.ok_or_else(|| Error::CargoError("Failed to find directory containing Cargo.toml".to_string()))
.ok_or_else(|| {
Error::CargoError("Failed to find directory containing Cargo.toml".to_string())
})
}
/// Checks if the directory contains `Cargo.toml`