From 6fcb1c62d260989cfc48bd688f5f37486d3b808a Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Thu, 9 May 2024 15:18:51 +0900 Subject: [PATCH] revset: make RevsetParser type private It's unlikely that client codes and integration tests have to use the pest API directly. --- lib/src/revset.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/revset.rs b/lib/src/revset.rs index ecda8aee61..fe9621b33f 100644 --- a/lib/src/revset.rs +++ b/lib/src/revset.rs @@ -79,7 +79,7 @@ pub enum RevsetEvaluationError { #[derive(Parser)] #[grammar = "revset.pest"] -pub struct RevsetParser; +struct RevsetParser; const STRING_LITERAL_PARSER: StringLiteralParser = StringLiteralParser { content_rule: Rule::string_content,