From 1992ef4e08256e4de3c55fbcca6105079ce1a344 Mon Sep 17 00:00:00 2001 From: Matthew Sparks Date: Fri, 17 Sep 2021 22:08:51 -0400 Subject: [PATCH] Updating roll doc --- dicebot/src/basic/roll.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dicebot/src/basic/roll.rs b/dicebot/src/basic/roll.rs index 6dd6c39..a104d6b 100644 --- a/dicebot/src/basic/roll.rs +++ b/dicebot/src/basic/roll.rs @@ -19,7 +19,9 @@ pub trait Rolled { } #[derive(Debug, PartialEq, Eq, Clone)] -// array of rolls in order, how many dice to keep, and how many to drop +/// array of rolls in order, how many dice to keep, and how many to drop +/// keep indicates how many of the highest dice to keep +/// drop indicates how many of the highest dice to drop pub struct DiceRoll (pub Vec, usize, usize); impl DiceRoll {