fn raise(&mut self, raise: Money) -> Result<(), ()> {
        if raise <= self.stack + self.bet {
            self.stack -= raise - self.bet;
            self.bet = raise;
            Ok(())
        } else {
            Err(())
        }
    }
/// Attempt to raise. A player can raise if their stack is sufficiently big.
/// raise: the amount to which must be raised
Attempt to raise. A player can raise if their stack is sufficiently big.
raise: the amount to which must be raised
Attempt to raise . A player can raise if their stack is sufficiently big . raise : the amount to which must be raised
fn raise(&mut self, raise: Money) -> Result<(), ()> {
        if raise <= self.stack + self.bet {
            self.stack -= raise - self.bet;
            self.bet = raise;
            Ok(())
        } else {
            Err(())
        }
    }
fn raise ( & mut self , raise : Money ) -> Result < ( ) , ( ) > { if raise <= self . stack + self . bet { self . stack -= raise - self . bet ; self . bet = raise ; Ok ( ( ) ) } else { Err ( ( ) ) } }
Attempt to raise.
Attempt to raise .
&mut self
raise
Money
&mut self
raise
Money