*: fix doc strings

This commit is contained in:
2026-04-02 06:05:20 +01:00
committed by oreodave
parent e1db8af26c
commit fea8f1716d
2 changed files with 4 additions and 3 deletions

View File

@@ -94,8 +94,9 @@ pub fn all_same_rank(cards: &[PlayingCard]) -> bool {
} }
/** Generate a vector of cards representing the concatenation of /** Generate a vector of cards representing the concatenation of
* `number_of_decks` decks of playing cards put together. Note that each deck `number_of_decks` decks of playing cards put together.
* gets two jokers - this is added to the overall vector.
Note that each deck gets two jokers - this is added to the overall vector.
*/ */
pub fn make_decks(number_of_decks: usize) -> Vec<Card> { pub fn make_decks(number_of_decks: usize) -> Vec<Card> {
let number_of_decks: i64 = number_of_decks.try_into().unwrap(); let number_of_decks: i64 = number_of_decks.try_into().unwrap();

View File

@@ -16,7 +16,7 @@ mod tests {
use super::*; use super::*;
/** Given two hands, assert that their footstool condition is non-reflexive. /** Given two hands, assert that their footstool condition is non-reflexive.
* Return the results of the two footstool checks (x on y, y on x). Return the results of the two footstool checks (x on y, y on x).
*/ */
pub fn test_non_reflexivity<T: Hand + Copy>( pub fn test_non_reflexivity<T: Hand + Copy>(
x: &T, x: &T,