Skip to content

Commit 855d0ca

Browse files
authored
fiat-constify: add clippy allows (#769)
Adds `allow` directives for the following: - `clippy::identity_op` - `clippy::unnecessary_cast`
1 parent 08127c2 commit 855d0ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fiat-constify/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
3131
ast.attrs.push(build_attribute(
3232
"allow",
3333
&[
34+
"clippy::identity_op",
35+
"clippy::unnecessary_cast",
3436
"dead_code",
3537
"rustdoc::broken_intra_doc_links",
3638
"unused_assignments",

0 commit comments

Comments
 (0)