i see it used in stuff like thread spawn, also let statements etc, just an empty closure
Presumably a no-op[1] that satisfies a trait bound, e.g. the caller had to provide some FnMut()
implementer, but didn't actually have anything they wanted done when the function called it.
or placeholder for examples âŠī¸
1 Like
Sometimes it's also used to just drop a passed value, which reminds me of this.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.