Rollup merge of #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
This commit is contained in:
commit
2a8eeafa9d
1 changed files with 2 additions and 2 deletions
|
@ -1008,9 +1008,9 @@ mod mod_keyword {}
|
|||
/// move || println!("This is a: {}", text)
|
||||
/// }
|
||||
///
|
||||
/// let fn_plain = create_fn();
|
||||
/// let fn_plain = create_fn();
|
||||
///
|
||||
/// fn_plain();
|
||||
/// fn_plain();
|
||||
/// ```
|
||||
///
|
||||
/// `move` is often used when [threads] are involved.
|
||||
|
|
Loading…
Reference in a new issue