fix indentation in docs

This commit is contained in:
Antoni Spaanderman
2024-08-13 13:13:02 +02:00
parent 61a252f182
commit 5fee840875
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -310,8 +310,8 @@
/// ```rust,ignore
/// #[allow(unused_mut)]
/// fn foo() -> usize {
/// let mut a = Vec::new();
/// a.len()
/// let mut a = Vec::new();
/// a.len()
/// }
/// ```
/// Use instead:
+1 -1
View File
@@ -80,7 +80,7 @@
/// ```no_run
/// // `n` can be any number, including `i32::MAX`.
/// fn foo(n: i32) -> i32 {
/// n + 1
/// n + 1
/// }
/// ```
///