mirror of
https://github.com/nushell/nushell
synced 2025-01-24 02:45:31 +00:00
3dc9691aaa
# Description Minor nitpicks, but the `random int` help and examples were a bit ambiguous in several aspects. Updated to clarify that: * An unconstrained `random int` returns a non-negative integer. That is, the smallest potential value is 0. Technically integers include negative numbers as well, and `random int` will never return one unless you pass it a range with a negative lower-bound. * To that end, changed the final example to demonstrate a negative lower-bound. * The range is inclusive. While most people would probably assume this, the changes make this explicit in the examples and argument description. # User-Facing Changes Help only # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib # After Submitting N/A |
||
---|---|---|
.. | ||
bool.rs | ||
chars.rs | ||
dice.rs | ||
float.rs | ||
int.rs | ||
mod.rs | ||
random_.rs | ||
uuid.rs |