From 11cd1afcf1d146720fb0ff7debcec6aa69378d50 Mon Sep 17 00:00:00 2001 From: Myriad-Dreamin Date: Thu, 28 Dec 2023 11:19:20 +0800 Subject: [PATCH] fix(build): wrong lint kind --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e692a4e..8a09ae9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,11 +38,12 @@ opt-level = 3 # Optimize for speed codegen-units = 1 # Reduce number of codegen units to increase optimizations panic = 'abort' # Abort on panic +[workspace.lints.rust] +missing_docs = "warn" + [workspace.lints.clippy] uninlined_format_args = "warn" -missing_docs = "warn" missing_errors_doc = "warn" missing_panics_doc = "warn" missing_safety_doc = "warn" undocumented_unsafe_blocks = "warn" -missing_crate_level_docs = "warn"