//
sign in
Post
by @danabra.mov
PostEmbed
by @danabra.mov
Record
by @jimpick.com
Record
by @atsui.org
+ new component
Post
I extended the `proc_macro::Literal` API once again by adding more `_value` methods to get the underlying value represented by the literal. The end goal is to reduce the code needed by crates using proc-macro to convert from the literal to the value (cc proc-macro2). PR: github.com/rust-lang/ru...
2d
github.com
View all comments Part of #136652. This PR adds the *_value for numbers (integers and floats). However, f16 and f128 are voluntarily left out as they're still unstable. Adding support for them...
Add `_value` API for number literals in proc-macro by GuillaumeGomez · Pull Request #154608 · rust-lang/rust
imperio