Skip to content

Commit 280277a

Browse files
author
Bastian Gruber
committed
path -> from
1 parent 5ddb339 commit 280277a

File tree

1 file changed

+2
-2
lines changed
  • src/tools/unstable-book-gen/src

1 file changed

+2
-2
lines changed

src/tools/unstable-book-gen/src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ fn generate_unstable_book_files(src :&Path, out: &Path, features :&Features) {
102102
}
103103
}
104104

105-
fn copy_recursive(path: &Path, to: &Path) {
106-
for entry in t!(fs::read_dir(path)) {
105+
fn copy_recursive(from: &Path, to: &Path) {
106+
for entry in t!(fs::read_dir(from)) {
107107
let e = t!(entry);
108108
let t = t!(e.metadata());
109109
let dest = &to.join(e.file_name());

0 commit comments

Comments
 (0)