1
Fork 0

Simplify some redundant field names

This commit is contained in:
Michael Goulet 2024-08-21 01:29:52 -04:00
parent 636d7ff91b
commit 0b2525c787
16 changed files with 19 additions and 30 deletions

View file

@ -851,7 +851,7 @@ fn delete_old(sess: &Session, path: &Path) {
debug!("garbage_collect_session_directories() - deleting `{}`", path.display());
if let Err(err) = safe_remove_dir_all(path) {
sess.dcx().emit_warn(errors::SessionGcFailed { path: path, err });
sess.dcx().emit_warn(errors::SessionGcFailed { path, err });
} else {
delete_session_dir_lock_file(sess, &lock_file_path(path));
}