mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-15 22:42:52 +00:00
Allow certain clippy lints
This commit is contained in:
parent
6c7188a1b9
commit
5fb88d4744
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
||||||
// Global specifiers
|
// Global specifiers
|
||||||
#![forbid(unsafe_code)]
|
#![forbid(unsafe_code)]
|
||||||
#![warn(clippy::pedantic, clippy::all)]
|
#![warn(clippy::pedantic, clippy::all)]
|
||||||
|
#![allow(
|
||||||
|
clippy::clippy::needless_pass_by_value,
|
||||||
|
clippy::match_wildcard_for_single_variants,
|
||||||
|
clippy::cast_possible_truncation,
|
||||||
|
clippy::similar_names
|
||||||
|
)]
|
||||||
|
|
||||||
// Reference local files
|
// Reference local files
|
||||||
mod post;
|
mod post;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue