Skip to content

Commit

Permalink
Remove unnecessary borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
jherbel committed Aug 5, 2024
1 parent b4b6659 commit 21f255d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/scheduler/setup/general.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ fn setup_with_one_directory_per_user(
return (surviving_plans, failures);
}
for (session, plans_in_session) in plans_by_sessions(plans) {
let user_target = &target.join(&session.id());
let user_target = &target.join(session.id());
if let Err(e) = create_dir_all(user_target) {
let error = anyhow!(e).context(format!(
"Failed to create directory {} for session {}",
Expand Down

0 comments on commit 21f255d

Please sign in to comment.