From 0f2d667eb08762b744ef5a18d6c09f99c9c1b8bb Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 17 Aug 2023 07:40:23 +0200 Subject: chore: demote missing_docs lint to warn `#![deny(missing_docs)]` makes `cargo test` abort immediately if any public API member is missing a doc comment ... which is quite annoying when experimenting with API designs. Also sometimes refactor commits (such as the very next commit) introduce new types that are then immediately removed afterwards, this should be possible without having to add a `/// TODO``` (which contrary to a compiler warning is easy to miss). --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 12326ec..12eb6a2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![deny(missing_docs)] +#![warn(missing_docs)] // This is an HTML parser. HTML can be untrusted input from the internet. #![forbid(unsafe_code)] #![doc = include_str!("../README.md")] -- cgit v1.2.3