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:
Guillaume Gomez 2021-05-24 18:53:29 +02:00 committed by GitHub
commit 2a8eeafa9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.