1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

clippy fixes

This commit is contained in:
Robin Appelman 2026-05-08 22:23:40 +02:00
commit cd9740675f
2 changed files with 3 additions and 3 deletions

View file

@ -99,7 +99,7 @@ pub fn pull_all(config: &HazeConfig) -> Result<()> {
pool.install(|| {
repos.par_iter().for_each(|app_dir| {
let app_name = app_dir.file_name().unwrap().to_string_lossy();
let Ok(repo) = Repository::init(&app_dir) else {
let Ok(repo) = Repository::init(app_dir) else {
return;
};
let branch_name = current_branch_name(&repo).unwrap_or("unknown".into());
@ -126,7 +126,7 @@ pub fn pull_all(config: &HazeConfig) -> Result<()> {
let output = match Command::new(GIT_BINARY)
.arg("pull")
.current_dir(&app_dir)
.current_dir(app_dir)
.output()
{
Ok(output) => output,