diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-05-24 18:53:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-24 18:53:29 +0200 |
| commit | 2a8eeafa9df6c04e21cdc6b31b798977c68253c3 (patch) | |
| tree | 4adeb9d440f57c87256d61f58a2f68ca39e4bf5c | |
| parent | bf24e6ba00e8a74103fc69a8de25ff955f910ba3 (diff) | |
| parent | 95920d15b904d836ddbb1d9875a3e8e0c53d3364 (diff) | |
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
| -rw-r--r-- | library/std/src/keyword_docs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/keyword_docs.rs b/library/std/src/keyword_docs.rs index 39ed62425ce..ba2b8b6955d 100644 --- a/library/std/src/keyword_docs.rs +++ b/library/std/src/keyword_docs.rs @@ -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. |
