fn roll(die_str: &str, dice_rolls: &[u64]) -> i64 {
        FUTURE_ROLLS.with(|v| {
            v.replace(dice_rolls.to_vec())
        });
        parse_roll(die_str).unwrap().1
    }
/// Convenience function that rolls parses a string, rolls it with the given values, and returns the value.
Convenience function that rolls parses a string, rolls it with the given values, and returns the value.
Convenience function that rolls parses a string rolls it with the given values and returns the value .
fn roll(die_str: &str, dice_rolls: &[u64]) -> i64 {
        FUTURE_ROLLS.with(|v| {
            v.replace(dice_rolls.to_vec())
        });
        parse_roll(die_str).unwrap().1
    }
fn roll ( die_str : & str , dice_rolls : & [ u64 ] ) -> i64 { FUTURE_ROLLS . with ( | v | { v . replace ( dice_rolls . to_vec ( ) ) } ) ; parse_roll ( die_str ) . unwrap ( ) . 1 }
Convenience function that rolls parses a string, rolls it with the given values, and returns the value.
Convenience function that rolls parses a string rolls it with the given values and returns the value .
die_str
&str
dice_rolls
&[u64]
die_str
&str
dice_rolls
&[u64]