We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 307983a commit 35eca63Copy full SHA for 35eca63
src/readme.rs
@@ -14,7 +14,7 @@ pub fn copy_from_crate(crate_data: &CrateData, path: &Path, out_dir: &Path) -> R
14
"crate directory should exist"
15
);
16
assert!(
17
- fs::metadata(out_dir).ok().map_or(false, |m| m.is_dir()),
+ fs::metadata(&out_dir).ok().map_or(false, |m| m.is_dir()),
18
"crate's pkg directory should exist"
19
20
0 commit comments