mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-12-04 05:21:06 +00:00
Format PR 613 with rustfmt 1.4.30-nightly
This commit is contained in:
parent
c9c473644c
commit
515cef8044
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user