forked from mirrors/jj
revset: make RevsetParser type private
It's unlikely that client codes and integration tests have to use the pest API directly.
This commit is contained in:
parent
d6613304c9
commit
cfc18b0432
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ pub enum RevsetEvaluationError {
|
||||||
|
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
#[grammar = "revset.pest"]
|
#[grammar = "revset.pest"]
|
||||||
pub struct RevsetParser;
|
struct RevsetParser;
|
||||||
|
|
||||||
const STRING_LITERAL_PARSER: StringLiteralParser<Rule> = StringLiteralParser {
|
const STRING_LITERAL_PARSER: StringLiteralParser<Rule> = StringLiteralParser {
|
||||||
content_rule: Rule::string_content,
|
content_rule: Rule::string_content,
|
||||||
|
|
Loading…
Reference in a new issue