style: apply rustfmt
This commit is contained in:
1 parent
7723716e18
commit
a58e6fb76d
20 files changed
+114
-83
No files matched your search
+5
-1
@@ -39,7 +39,11 @@ fn rename_top_level(old: &Path, new: &Path) {
|
||||
return;
|
||||
}
|
||||
match fs::rename(old, new) {
|
||||
Ok(_) => eprintln!("rmcl migration: moved {} -> {}", old.display(), new.display()),
|
||||
Ok(_) => eprintln!(
|
||||
"rmcl migration: moved {} -> {}",
|
||||
old.display(),
|
||||
new.display()
|
||||
),
|
||||
Err(e) if e.kind() == io::ErrorKind::CrossesDevices => {
|
||||
if let Err(e2) = copy_dir_recursive(old, new) {
|
||||
eprintln!(
|
||||
|
||||
Reference in new issue
Block a user