revset: fix comment about "@" expression

This commit is contained in:
Yuya Nishihara 2023-09-04 13:30:47 +09:00
parent 0fa6d132ab
commit f2c1697362

View file

@ -910,7 +910,7 @@ fn parse_primary_rule(
}
}
Rule::at_op => {
// unary "@"
// nullary "@"
let ctx = state.workspace_ctx.as_ref().ok_or_else(|| {
RevsetParseError::new(RevsetParseErrorKind::WorkingCopyWithoutWorkspace)
})?;