Oh, I see the comment at the top:

> The implementation is #[cfg]ed to not compile on platforms where [casting u32 to uint] isn't safe for all values.