Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 5fee840

Browse files
committed
fix indentation in docs
1 parent 61a252f commit 5fee840

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clippy_lints/src/attrs/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ declare_clippy_lint! {
310310
/// ```rust,ignore
311311
/// #[allow(unused_mut)]
312312
/// fn foo() -> usize {
313-
/// let mut a = Vec::new();
314-
/// a.len()
313+
/// let mut a = Vec::new();
314+
/// a.len()
315315
/// }
316316
/// ```
317317
/// Use instead:

clippy_lints/src/operators/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ declare_clippy_lint! {
8080
/// ```no_run
8181
/// // `n` can be any number, including `i32::MAX`.
8282
/// fn foo(n: i32) -> i32 {
83-
/// n + 1
83+
/// n + 1
8484
/// }
8585
/// ```
8686
///

0 commit comments

Comments
 (0)