From eb1b9feeba32914c0a1b4579fbab26a6d78c7131 Mon Sep 17 00:00:00 2001 From: Nugine Date: Tue, 10 Dec 2024 12:49:36 +0800 Subject: [PATCH] style: add lints --- src/lib.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b90370b..49a26ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,13 +1,21 @@ //! ZUC Stream Cipher Algorithms -#![deny(unsafe_code, missing_docs)] +#![deny( + unsafe_code, // + missing_docs, +)] #![deny( clippy::all, clippy::pedantic, clippy::cargo, clippy::missing_docs_in_private_items )] -#![allow(clippy::inline_always)] +#![warn( + clippy::todo, // +)] +#![allow( + clippy::inline_always, // +)] // --- #![cfg_attr(docsrs, feature(doc_cfg))]