From 3903635fe40aa67f07879e53557ee5bdf90a525b Mon Sep 17 00:00:00 2001 From: Tipragot Date: Fri, 12 Jan 2024 21:29:07 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20d'une=20v=C3=A9rification=20pour=20les?= =?UTF-8?q?=20exemples=20dans=20les=20documentations=20(#1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://git.tipragot.fr/corentin/border-wars/pulls/1 Reviewed-by: Corentin Co-authored-by: Tipragot Co-committed-by: Tipragot --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 6424d79..e90c80e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,10 @@ authors = ["corentin"] [lints.rust] missing_docs = "warn" +[lints.rustdoc] +missing_doc_code_examples = "warn" +private_doc_tests = "warn" + [lints.clippy] missing_docs_in_private_items = "warn" unwrap_in_result = "warn"