Skip to content

Commit 01b52b9

Browse files
xtask: Allow clippy::collapsible_if lint
Let-chains are being stabilized in 1.88, so this lint triggers on nightly. Since current stable is 1.87, we can't change the code to fix this lint, and we also can't use `expect` here. For now, the best solution is just to allow the lint.
1 parent ca957ae commit 01b52b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xtask/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// SPDX-License-Identifier: MIT OR Apache-2.0
22

3+
#![allow(clippy::collapsible_if)]
4+
35
mod arch;
46
mod cargo;
57
mod check_raw;

0 commit comments

Comments
 (0)