Change error

This commit is contained in:
Daniel Flanagan 2024-05-03 13:54:51 -05:00
parent fccaf317d8
commit b645f60d35

View file

@ -38,7 +38,7 @@ fn ticket_from_str(s: &str) -> Result<Ticket, anyhow::Error> {
|| r[3] > 90
|| r[4] > 90
{
return Err(anyhow!("lotto number too high"));
return Err(anyhow!("lotto number out of bounds"));
}
Ok(r)