mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
f2c74e220b
Clarify that `modulo_one` only applies to ints
changelog: [`modulo_one`]: (docs) Clarify that it only applies to integers
This might be nitpicky, but it's more technically correct.
It also helps if a user skims through the docs, because they may believe it also applies to `{float}`s. This doc edit minimizes that possibility