The page for AsPrimitive mentions soundness holes from old versions of Rust related to floating point cast results, more specifically, #10184 and #15536. Those have now been resolved, which is why the documentation should remove mentions of those bugs or explicitly state that those have been fixed and no longer cause undefined behavior.
The page for
AsPrimitive
mentions soundness holes from old versions of Rust related to floating point cast results, more specifically, #10184 and #15536. Those have now been resolved, which is why the documentation should remove mentions of those bugs or explicitly state that those have been fixed and no longer cause undefined behavior.