duplicate icon indicating copy to clipboard operation
duplicate copied to clipboard

Easy code duplicate with substitution for Rust

Results 13 duplicate issues
Sort by recently updated
recently updated
newest added

### Short Description: I was hoping to have a way to substitute a value in to the name of a token. For example: ```rust #[duplicate_item( int_type max_value; [ u8 ]...

D-discussion
I-feature
T-accepted

### Short Description: Allows the use of `cfg` attributes on substitution groups, such that they can be enabled and disabled at build time. ### Motivation: See [this code](https://github.com/risc0/risc0/blob/5c5092a348123cbf243f6b6e36a479416b33a5ab/bonsai/sdk/src/lib.rs#L359). Here, they...

D-discussion
I-feature
T-accepted

### Short Description: Provide a way for reusing `duplicate!` invocation code for multiple invocations ### Motivation: If we want to reuse the same invocation in multiple calls to different `duplicate!`s:...

D-discussion
I-feature
T-new