From 7321e791141ddf2ec4d5f8a9893146832118bb19 Mon Sep 17 00:00:00 2001 From: Vonr Date: Tue, 18 Jun 2024 23:25:08 +0800 Subject: Replace `move||` with `move ||` in `compiler/` and `library/` Edit from #126631 to revert changes on ui tests --- library/std/src/thread/local.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/std/src/thread') 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); /// }); -- cgit 1.4.1-3-g733a5