]> git.lizzy.rs Git - rust.git/commit
Use `f` instead of `|| f()`.
authorMara Bos <m-ou.se@m-ou.se>
Mon, 7 Mar 2022 22:14:02 +0000 (22:14 +0000)
committerGitHub <noreply@github.com>
Mon, 7 Mar 2022 22:14:02 +0000 (22:14 +0000)
commita3d269e91cceb4d6234668014930f81fff587ff3
tree4c53488c3227f5b86232ef3a437f94d756abd49e
parent9099353ea88c72cb5a62fd7c2af187410295cf5b
Use `f` instead of `|| f()`.

Co-authored-by: Mark Rousskov <mark.simulacrum@gmail.com>
library/std/src/thread/scoped.rs