News for hackers. Stuff that matters.
Re:Rust Traits Deep Dive, Part 2 by chrismorgan on Wednesday June 20, 2018 @08:41AM (#17354805)
Note that integer literals and float literals are still distinct; `1` cannot be interpreted as a float, nor can `1.0` be interpreted as an integer—though `1f32` is actually legal (this surprised me; I don’t know when it became legal), while `1.0u32` isn’t.

There are no comments on this comment yet.