uniffi-rs icon indicating copy to clipboard operation
uniffi-rs copied to clipboard

Better document our support for numeric literals (and literals/defaults in general?)

Open mhammond opened this issue 5 months ago • 0 comments
trafficstars

Via #2543, our docs for literals in proc-macros aren't great - "String, integer, float, and boolean literals".

Also, via UDL, numeric literals carry a radix etc - so we've always supported rendering literals as hex or decimal etc in the bindings. Not sure how much of this is supported in proc-macros, but we should find out.

Ultimately it's probably better still for an entire page dedicated to defaults and literals, but small steps to get started.

mhammond avatar May 30 '25 01:05 mhammond