review: change roll result type to i32
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user