Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit 933d556

Browse files
committed
Suppress all currently triggered clippy lints
1 parent afef37e commit 933d556

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

src/lib.rs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#![allow(
2+
clippy::cast_possible_truncation,
3+
clippy::cast_possible_wrap,
4+
clippy::cast_sign_loss,
5+
clippy::manual_assert,
6+
clippy::match_single_binding,
7+
clippy::missing_panics_doc,
8+
clippy::must_use_candidate,
9+
clippy::needless_lifetimes,
10+
clippy::needless_return,
11+
clippy::new_without_default,
12+
clippy::ptr_as_ptr,
13+
clippy::redundant_static_lifetimes,
14+
clippy::semicolon_if_nothing_returned,
15+
clippy::struct_excessive_bools,
16+
clippy::too_many_lines,
17+
clippy::unreadable_literal,
18+
clippy::unused_io_amount,
19+
clippy::used_underscore_binding
20+
)]
21+
122
#[macro_use]
223
pub mod enums;
324

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::needless_borrow, clippy::wildcard_imports)]
2+
13
#[global_allocator]
24
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
35

0 commit comments

Comments
 (0)