Issue
I've noticed a deprecation note on the Rust std page next to u8
, i8
, u16
and so on:
What is going on, and what will the replacement be?
Solution
The types themselves aren't being deprecated, just the modules named e.g. std::i8
which contain constants. For example, std::i8::MIN
is being replaced with i8::MIN
(docs). The deprecation notice says:
Deprecating in a future Rust version: all constants in this module replaced by associated constants on i8
Answered By - lkolbly Answer Checked By - Mary Flores (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.