diff options
| author | Vonr <dtaclanlegion@gmail.com> | 2024-06-18 23:25:08 +0800 |
|---|---|---|
| committer | Vonr <dtaclanlegion@gmail.com> | 2024-06-18 23:25:08 +0800 |
| commit | 7321e791141ddf2ec4d5f8a9893146832118bb19 (patch) | |
| tree | bbb9b7bdae9aa6c8c1e455d311272f596fe4ad97 /library/std/src/thread | |
| parent | c1f62a7c35349438ea9728abbe1bcf1cebd426b7 (diff) | |
Replace `move||` with `move ||` in `compiler/` and `library/`
Edit from #126631 to revert changes on ui tests
Diffstat (limited to 'library/std/src/thread')
| -rw-r--r-- | library/std/src/thread/local.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/local.rs b/library/std/src/thread/local.rs index aed185637fd..f147c5fdcd1 100644 --- a/library/std/src/thread/local.rs +++ b/library/std/src/thread/local.rs @@ -62,7 +62,7 @@ use crate::fmt; /// FOO.set(2); /// /// // each thread starts out with the initial value of 1 -/// let t = thread::spawn(move|| { +/// let t = thread::spawn(move || { /// assert_eq!(FOO.get(), 1); /// FOO.set(3); /// }); |
