mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-22 09:34:21 +00:00
Close doctest codeblock
This commit is contained in:
parent
779910b8c4
commit
cfc85068c5
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ impl Deck {
|
|||
/// let index: CardIndex = create_cardindex_from_wd();
|
||||
/// let deck: Deck = deck!("CECQCAQCA4AQIAYKAIAQGLRWAQAQECAPEUXAIAQDAEBQOCIBAIAQEMJYAA");
|
||||
/// assert_eq!(deck.card_count(), 40);
|
||||
///
|
||||
/// ```
|
||||
pub fn card_count(&self) -> u32 {
|
||||
self.contents.values().sum()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue