Skip to content

Commit 285d037

Browse files
Rollup merge of rust-lang#85271 - th1000s:master, r=JohnTitor
Fix indentation in move keyword documentation See (at the time of writing) the second example code block with `create_fn()` at https://doc.rust-lang.org/std/keyword.move.html
2 parents e5d8bc2 + 93ecfae commit 285d037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

std/src/keyword_docs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1008,9 +1008,9 @@ mod mod_keyword {}
10081008
/// move || println!("This is a: {}", text)
10091009
/// }
10101010
///
1011-
/// let fn_plain = create_fn();
1011+
/// let fn_plain = create_fn();
10121012
///
1013-
/// fn_plain();
1013+
/// fn_plain();
10141014
/// ```
10151015
///
10161016
/// `move` is often used when [threads] are involved.

0 commit comments

Comments
 (0)