Skip to content

Commit e904431

Browse files
[autofix.ci] apply automated fixes
1 parent 7f9ce83 commit e904431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ impl Config {
361361

362362
let has_opts = |tr: &(&Arc<BackendArg>, &Vec<crate::toolset::ToolRequest>, _)| -> bool {
363363
tr.1.first()
364-
.map_or(false, |req| !req.options().opts.is_empty())
364+
.is_some_and(|req| !req.options().opts.is_empty())
365365
};
366366
// Prefer whichever match has options set. When both have options,
367367
// prefer the short (alias-specific) match since it's more specific.

0 commit comments

Comments
 (0)