diff --git a/rslib/src/search/parser.rs b/rslib/src/search/parser.rs index a6cf0b165..e9b6a377b 100644 --- a/rslib/src/search/parser.rs +++ b/rslib/src/search/parser.rs @@ -512,7 +512,7 @@ fn parse_edited(s: &str) -> ParseResult { /// second arg must be between 1-4 fn parse_rated(s: &str) -> ParseResult { let mut it = s.splitn(2, ':'); - let days = parse_u32(it.next().unwrap(), s)?.max(1); + let days = parse_u32(it.next().unwrap(), "rated:")?.max(1); let button = parse_answer_button(it.next(), s)?; Ok(SearchNode::Rated { days, ease: button }) }