So far I have not gotten ci/run.sh to work correctly. I have also had no luck with the command cargo +nightly test --example hex -p stdarch provided in this comment. But perhaps those problems are not so relevant to this PR.
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) some time within the next two weeks.
Fixes https://github.com/rust-lang/rust/issues/126935
This PR corrects the doc comment on the function and rewords it for clarity.
According to the issue linked above, the behavior of this function is correct and corresponds to Intel's documentation.
This can be verified by inspecting the unit tests here: library/stdarch/examples/hex.rs.
I am able to run these tests with the commands
So far I have not gotten
ci/run.sh
to work correctly. I have also had no luck with the commandcargo +nightly test --example hex -p stdarch
provided in this comment. But perhaps those problems are not so relevant to this PR.