From 3d6ba7f31f1de18baa56f2cfaa1699430f3fba78 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 18 Dec 2024 17:37:31 +0100 Subject: [PATCH] Allow tabs in doc comments --- micronfig/Cargo.toml | 5 ++++- micronfig_macros/Cargo.toml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/micronfig/Cargo.toml b/micronfig/Cargo.toml index 6ff919a..6245914 100644 --- a/micronfig/Cargo.toml +++ b/micronfig/Cargo.toml @@ -23,4 +23,7 @@ micronfig_macros = { version = "0.3.1", path = "../micronfig_macros" } regex = { version = "1.10.2", optional = true } [dev-dependencies] -tempfile = { version = "3.9.0" } \ No newline at end of file +tempfile = { version = "3.9.0" } + +[lints.clippy] +tabs-in-doc-comments = "allow" diff --git a/micronfig_macros/Cargo.toml b/micronfig_macros/Cargo.toml index 4074f5f..6458b87 100644 --- a/micronfig_macros/Cargo.toml +++ b/micronfig_macros/Cargo.toml @@ -22,3 +22,6 @@ trybuild = "1.0.87" [lib] proc-macro = true + +[lints.clippy] +tabs-in-doc-comments = "allow"