Skip to content

Commit

Permalink
Correct message for dice::Error::InfiniteRolls
Browse files Browse the repository at this point in the history
  • Loading branch information
Gawdl3y committed Mar 8, 2024
1 parent 8ea75b8 commit 24d9258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ pub enum Error {
#[error("integer overflow")]
Overflow,

#[error("{0} would result in infinite explosions")]
#[error("{0} would result in infinite rolls")]
InfiniteRolls(Dice),

#[error("unknown condition symbol: {0}")]
Expand Down

0 comments on commit 24d9258

Please sign in to comment.