mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
This is mostly a cosmetic change. The current form of this function tends to mislead people to assume it is implicitly "correct" in various ways by invoking LLVM as an authority. It is only sort-of correct. More specifically, LLVM mostly doesn't care, and neither do we, except when it comes to FFI. So, we have an arbitrary algorithm that works usefully in most cases. It is not inherently more correct than other arbitrary algorithms, so spell this out and weaken its contract.