Skip to content

Commit

Permalink
revset: make RevsetParser type private
Browse files Browse the repository at this point in the history
It's unlikely that client codes and integration tests have to use the pest
API directly.
  • Loading branch information
yuja committed May 11, 2024
1 parent d661330 commit 6fcb1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/revset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub enum RevsetEvaluationError {

#[derive(Parser)]
#[grammar = "revset.pest"]
pub struct RevsetParser;
struct RevsetParser;

const STRING_LITERAL_PARSER: StringLiteralParser<Rule> = StringLiteralParser {
content_rule: Rule::string_content,
Expand Down

0 comments on commit 6fcb1c6

Please sign in to comment.