fix: bad indent in doc comments

Sometimes, in doc comments, there are 3 spaces + 1 instead of 4 spaces + 1.
To make it coherent with the rest of the clippy codebase, I `fd -t f -X sed -E -i 's,///    (\S),///     \1,g'` and manually verified and fixed the relevant part of code that had bad indentation.
This commit is contained in:
tk 2025-03-16 19:36:09 +01:00
parent 775a5c2712
commit b23fcb0147
12 changed files with 24 additions and 24 deletions

View file

@ -37,7 +37,7 @@ declare_clippy_lint! {
///
/// struct Baz;
/// impl Baz {
/// fn private() {} // ok
/// fn private() {} // ok
/// }
///
/// impl Bar for Baz {
@ -46,13 +46,13 @@ declare_clippy_lint! {
///
/// pub struct PubBaz;
/// impl PubBaz {
/// fn private() {} // ok
/// pub fn not_private() {} // missing #[inline]
/// fn private() {} // ok
/// pub fn not_private() {} // missing #[inline]
/// }
///
/// impl Bar for PubBaz {
/// fn bar() {} // missing #[inline]
/// fn def_bar() {} // missing #[inline]
/// fn bar() {} // missing #[inline]
/// fn def_bar() {} // missing #[inline]
/// }
/// ```
///