Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Oct 1, 2024
1 parent 2e24591 commit 164b64f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ impl Settings {
last = CurrentKey::Dir;
continue;
}
else {
src.drain(..src.len() - rest.len());
dirs.push(OsString::from_vec(src));
}

// The value was included.
src.drain(..src.len() - rest.len());
dirs.push(OsString::from_vec(src));
},

// -j
Expand All @@ -113,6 +113,8 @@ impl Settings {
last = CurrentKey::Threads;
continue;
}

// The value was included.
set_threads(&mut threads, rest);
},

Expand Down

0 comments on commit 164b64f

Please sign in to comment.