Skip to content

Commit 2a03e4c

Browse files
committed
[assembler] Clippy: allow verbose_bit_mask.
This lint tells us to prefer methods like trailing_zeros(), but our TX-2 numeric types don't have that method, so the lint is not useful.
1 parent d93eb22 commit 2a03e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assembler/src/asmlib/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
#![warn(clippy::unreadable_literal)]
1515
#![warn(clippy::redundant_closure_for_method_calls)]
1616
#![warn(clippy::pedantic)]
17+
#![allow(clippy::verbose_bit_mask)] // because many of our types don't have trailing_zeros().
1718
#![allow(clippy::enum_glob_use)] // fix later
1819
#![allow(clippy::redundant_else)] // fix later
1920
#![allow(clippy::too_many_lines)] // fix later
2021
#![allow(clippy::similar_names)] // fix later
2122
#![allow(clippy::explicit_into_iter_loop)] // fix later
2223
#![allow(clippy::default_trait_access)] // fix later
2324
#![allow(clippy::match_wild_err_arm)] // fix later
24-
#![allow(clippy::verbose_bit_mask)] // fix later
2525

2626
mod ast;
2727
mod collections;

0 commit comments

Comments
 (0)