Crates.io | immediate_closure |
lib.rs | immediate_closure |
version | 0.1.1 |
source | src |
created_at | 2021-06-25 16:13:53.057821 |
updated_at | 2021-06-25 16:35:16.722775 |
description | lets you write a closure to be immediately run |
homepage | |
repository | |
max_upload_size | |
id | 414877 |
size | 1,441 |
not really sure why you would need/want this but this syntax:
CR!{ ... }
is cleaner than this:
(||{ ... })()
so here it is