review: change roll result type to i32

This commit is contained in:
2025-11-16 09:52:44 +01:00
parent e12e954d19
commit 4d4810b52b
6 changed files with 11 additions and 11 deletions

View File

@@ -2,7 +2,7 @@ use crate::*;
impl Handful {
pub fn roll(self) -> Outcome {
let mut die_rolls = Vec::<u16>::new();
let mut die_rolls = Vec::<i32>::new();
for die in self.dice {
die_rolls.push(die.roll());
}