From bb7fbff4c656ea92522ce51bf07f2e358346c2f2 Mon Sep 17 00:00:00 2001 From: pravic Date: Thu, 26 Sep 2024 07:20:43 +0300 Subject: [PATCH] Enforce API documentation Currently almost nobody documents added functions which is not good for the users of this library - but the API must have documentation. Let's warn about missing docs (deny would be even better). --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 05bc62fa..df0e72f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ rust-version = "1.70.0" [lints.rust] rust_2018_idioms = { level = "warn", priority = -1 } unreachable_pub = "warn" -# TODO: missing_docs = "warn" +missing_docs = "warn" unexpected_cfgs = "allow" # for `docsrs` [lints.clippy]