Skip to content

Commit

Permalink
Remove unnecessary code formatting from fastrand crate's name
Browse files Browse the repository at this point in the history
  • Loading branch information
Gawdl3y committed Mar 26, 2024
1 parent 3a19f9a commit c1108c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dice/roller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub trait Roller {
fn roll(&mut self, sides: u8) -> DieRoll;
}

/// Generates rolls with random values using [`fastrand`]. Requires the `fastrand` feature (enabled by default).
/// Generates rolls with random values using [fastrand]. Requires the `fastrand` feature (enabled by default).
///
/// # Examples
///
Expand Down Expand Up @@ -46,7 +46,7 @@ pub struct FastRand(Rng);

#[cfg(feature = "fastrand")]
impl FastRand {
/// Creates a new [`fastrand`] roller that uses the given RNG instance to generate rolls.
/// Creates a new fastrand roller that uses the given RNG instance to generate rolls.
#[must_use]
#[inline]
pub const fn new(rng: Rng) -> Self {
Expand Down

0 comments on commit c1108c0

Please sign in to comment.