Skip to content

Commit

Permalink
path -> from
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian Gruber committed Apr 6, 2019
1 parent 5ddb339 commit 280277a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/unstable-book-gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ fn generate_unstable_book_files(src :&Path, out: &Path, features :&Features) {
}
}

fn copy_recursive(path: &Path, to: &Path) {
for entry in t!(fs::read_dir(path)) {
fn copy_recursive(from: &Path, to: &Path) {
for entry in t!(fs::read_dir(from)) {
let e = t!(entry);
let t = t!(e.metadata());
let dest = &to.join(e.file_name());
Expand Down

0 comments on commit 280277a

Please sign in to comment.