Skip to content

Commit

Permalink
Clippy: Enable 'pedantic' and 'cargo' categories
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersTrier committed Nov 23, 2024
1 parent 64b5019 commit 46366df
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
#![doc = include_str!(concat!(env!("OUT_DIR"), "/README-rustdocified.md"))]
#![deny(missing_docs)]
#![warn(clippy::pedantic, clippy::cargo)]
// Allow a some lints from the pedantic category
#![allow(
clippy::must_use_candidate,
clippy::cast_ptr_alignment,
clippy::inline_always,
clippy::missing_errors_doc,
clippy::cast_possible_truncation,
clippy::large_stack_arrays,
clippy::wildcard_imports
)]

use std::{collections::HashMap, fmt};

Expand Down

0 comments on commit 46366df

Please sign in to comment.