From e1fd6fdecf1c117187446413c4d5b20de177fd96 Mon Sep 17 00:00:00 2001 From: j-mendez Date: Thu, 5 Oct 2023 09:42:46 -0400 Subject: [PATCH] chore(selector): add public parser --- src/selector.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/selector.rs b/src/selector.rs index 0e482ca9..f419297e 100644 --- a/src/selector.rs +++ b/src/selector.rs @@ -61,7 +61,8 @@ impl Selector { } /// An implementation of `Parser` for `selectors` -struct Parser; +#[derive(Clone, Copy, Debug)] +pub struct Parser; impl<'i> parser::Parser<'i> for Parser { type Impl = Simple; type Error = SelectorParseErrorKind<'i>;