Format PR 613 with rustfmt 1.4.30-nightly

This commit is contained in:
David Tolnay 2020-12-29 15:19:46 -08:00
parent c9c473644c
commit 515cef8044
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -426,8 +426,8 @@ fn best_effort_copy_headers(src: &Path, dst: &Path, max_depth: usize) {
Ok(file_type) if file_type.is_file() => {
let src = entry.path();
match src.extension().map(|x| x.to_str()).flatten() {
Some("h") | Some("hh") | Some("hpp") => {},
_ => continue
Some("h") | Some("hh") | Some("hpp") => {}
_ => continue,
}
if !dst_created && fs::create_dir_all(dst).is_err() {
return;