FloatToInit docs incorrect symbol: round_unchecked_to - should be to_int_unchecked #82709
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
C-bug
Category: This is a bug.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
https://doc.rust-lang.org/nightly/std/convert/trait.FloatToInt.html mentions a non-existing symbol:
round_unchecked_to
. The correct one is:to_int_unchecked
. (There is no wordround
anywhere inlibrary/core/src/convert/num.rs
.)Notes
The text was updated successfully, but these errors were encountered: