Skip to content

Commit

Permalink
Fix minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel authored and arlyon committed Jan 7, 2021
1 parent 196f46b commit 77903a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl<R: Rng + SeedableRng> BlueNoise<R> {
/// Creates a new instance of `BlueNoise`.
///
/// * `width`: The width of the box to generate inside.
/// * `height`: The height of the cox to generate inside.
/// * `height`: The height of the box to generate inside.
/// * `min_radius`: The minimum distance between points.
#[must_use = "This is quite expensive to initialise. You can iterate over it to consume it."]
pub fn new(width: f32, height: f32, min_radius: f32) -> Self {
Expand All @@ -81,7 +81,7 @@ impl<R: Rng + SeedableRng> BlueNoise<R> {
/// Creates a new instance of `BlueNoise`.
///
/// * `width`: The width of the box to generate inside.
/// * `height`: The height of the cox to generate inside.
/// * `height`: The height of the box to generate inside.
/// * `min_radius`: The minimum distance between points.
/// * `seed`: Value to seed the rng with
#[must_use = "This is quite expensive to initialise. You can iterate over it to consume it."]
Expand All @@ -103,7 +103,7 @@ impl<R: Rng> BlueNoise<R> {
/// Creates a new instance of `BlueNoise`.
///
/// * `width`: The width of the box to generate inside.
/// * `height`: The height of the cox to generate inside.
/// * `height`: The height of the box to generate inside.
/// * `min_radius`: The minimum distance between points.
/// * `rng`: Rng to use
#[must_use = "This is quite expensive to initialise. You can iterate over it to consume it."]
Expand Down

0 comments on commit 77903a0

Please sign in to comment.