Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Uniform constructors return a result #1229

Merged
merged 10 commits into from
Feb 6, 2023
Prev Previous commit
Update src/distributions/uniform.rs
dhardy authored Feb 6, 2023
commit 0eb674ba8fa3c6e92e649eb03f7aa46bbb83d85f
1 change: 0 additions & 1 deletion src/distributions/uniform.rs
Original file line number Diff line number Diff line change
@@ -172,7 +172,6 @@ use serde::{Serialize, Deserialize};
/// # Example
///
/// ```
/// use std::convert::TryFrom;
/// use rand::distributions::{Distribution, Uniform};
///
/// let between = Uniform::try_from(10..10000).unwrap();