Skip to content

Commit c63bf63

Browse files
committed
style: fix clippy warnings
1 parent 723492e commit c63bf63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/toolchain.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ impl<'a> Toolchain<'a> {
246246
.cfg
247247
.process
248248
.var_os("RUSTUP_WINDOWS_PATH_ADD_BIN")
249-
.map_or(false, |s| s == "1")
249+
.is_some_and(|s| s == "1")
250250
{
251251
path_entries.push(self.path.join("bin"));
252252
}

0 commit comments

Comments
 (0)