-
-
Notifications
You must be signed in to change notification settings - Fork 473
Closed
Labels
F-new-intFunctionality: new, within RandFunctionality: new, within Rand
Milestone
Description
Is there a reason https://docs.rs/rand/0.6.5/rand/trait.Rng.html#method.gen_range doesn't take an std::ops::Range? This would be more convenient for specifying inclusive/exclusive boundary behaviors (e.g. 128..=255u8
).
Metadata
Metadata
Assignees
Labels
F-new-intFunctionality: new, within RandFunctionality: new, within Rand