Skip to content

Commit 74e3768

Browse files
committed
skidder: Resolve clippy 1.88 uninlined_format_args lint
1 parent 0c7d6a9 commit 74e3768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skidder/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ impl Repo {
207207
// true alternative.
208208
config.git(&["checkout", branch], &dir)?;
209209
}
210-
config.git(&["reset", "--hard", &format!("origin/{}", branch)], &dir)?;
210+
config.git(&["reset", "--hard", &format!("origin/{branch}")], &dir)?;
211211
return Ok(());
212212
}
213213
let _ = fs::create_dir_all(&dir);

0 commit comments

Comments
 (0)