fix indentation in docs
This commit is contained in:
parent
61a252f182
commit
5fee840875
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue