Closed jw3 closed 1 year ago
The text of a rule syntax error message was apparently a todo and displays as
Expected one of ...
Originates in the Display impl for RuleParseError in rules::parser::error
Display
RuleParseError
rules::parser::error
UnknownSubjectPart(_) | UnknownObjectPart(_) => f.write_str("Expected one of ....."),
Simple fix here is to break those to separate lines and change the message respectively to Expected subject and Expected object
Expected subject
Expected object
The text of a rule syntax error message was apparently a todo and displays as
Expected one of ...
Originates in the
Display
impl forRuleParseError
inrules::parser::error
UnknownSubjectPart(_) | UnknownObjectPart(_) => f.write_str("Expected one of ....."),
Simple fix here is to break those to separate lines and change the message respectively to
Expected subject
andExpected object