fix indentation in docs

This commit is contained in:
Antoni Spaanderman 2024-08-13 13:13:02 +02:00
parent 61a252f182
commit 5fee840875
No known key found for this signature in database
GPG Key ID: AE0B68E552E5DF8C
2 changed files with 3 additions and 3 deletions
clippy_lints/src
attrs
operators

@ -310,8 +310,8 @@ declare_clippy_lint! {
/// ```rust,ignore
/// #[allow(unused_mut)]
/// fn foo() -> usize {
/// let mut a = Vec::new();
/// a.len()
/// let mut a = Vec::new();
/// a.len()
/// }
/// ```
/// Use instead:

@ -80,7 +80,7 @@ declare_clippy_lint! {
/// ```no_run
/// // `n` can be any number, including `i32::MAX`.
/// fn foo(n: i32) -> i32 {
/// n + 1
/// n + 1
/// }
/// ```
///