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