Closed Diggsey closed 2 years ago
Would be used like this:
#[inventory::submit] static X: Foo = Foo { ... }
This form would be useful when you want to use the value directly as well as "registering" it for use later.
I would prefer not to build this into this crate, but an attribute like that could be implemented by a downstream crate.
Would be used like this:
This form would be useful when you want to use the value directly as well as "registering" it for use later.