Skip to content

Commit

Permalink
style: fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Jan 10, 2025
1 parent 36ec899 commit 6fa21c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toolchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ impl<'a> Toolchain<'a> {
.cfg
.process
.var_os("RUSTUP_WINDOWS_PATH_ADD_BIN")
.map_or(false, |s| s == "1")
.is_some_and(|s| s == "1")
{
path_entries.push(self.path.join("bin"));
}
Expand Down

0 comments on commit 6fa21c2

Please sign in to comment.