Skip to content

Commit 35eca63

Browse files
authored
Update src/readme.rs
1 parent 307983a commit 35eca63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/readme.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub fn copy_from_crate(crate_data: &CrateData, path: &Path, out_dir: &Path) -> R
1414
"crate directory should exist"
1515
);
1616
assert!(
17-
fs::metadata(out_dir).ok().map_or(false, |m| m.is_dir()),
17+
fs::metadata(&out_dir).ok().map_or(false, |m| m.is_dir()),
1818
"crate's pkg directory should exist"
1919
);
2020

0 commit comments

Comments
 (0)