From 5bab3f9cc02d6337e2cc9eb068bca60e6e7a91c7 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Fri, 25 Jul 2025 11:25:32 +0200 Subject: [PATCH] clippy: Allow doc_overindented_list_items After upgrading from Rust 1.85 to 1.88 in 586eefc3e4175b3fc27189c822, clippy now warns about "overindented" lines in comments. I did not manage to fix this by hand without breaking the second level of the lists in question. See - https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items - https://github.com/rust-lang/rust-clippy/issues/14275 --- crates/radicle-fetch/src/stage.rs | 3 +++ crates/radicle/src/git/canonical/rules.rs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/crates/radicle-fetch/src/stage.rs b/crates/radicle-fetch/src/stage.rs index be242205..88b7cfbd 100644 --- a/crates/radicle-fetch/src/stage.rs +++ b/crates/radicle-fetch/src/stage.rs @@ -1,3 +1,6 @@ +// Weird lint, see +#![allow(clippy::doc_overindented_list_items)] + //! The Radicle fetch protocol can be split into two actions: `clone` //! and `pull`. Each of these actions will interact with the server in //! multiple stages, where each stage will perform a single roundtrip diff --git a/crates/radicle/src/git/canonical/rules.rs b/crates/radicle/src/git/canonical/rules.rs index 96d70800..da9bd7fd 100644 --- a/crates/radicle/src/git/canonical/rules.rs +++ b/crates/radicle/src/git/canonical/rules.rs @@ -1,3 +1,6 @@ +// Weird lint, see +#![allow(clippy::doc_overindented_list_items)] + //! Implementation of RIP-0004 Canonical References //! //! [`RawRules`] is intended to be deserialized and then validated into a set of