Skip to content

Commit e1fd6fd

Browse files
committed
chore(selector): add public parser
1 parent 88a65c1 commit e1fd6fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/selector.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ impl Selector {
6161
}
6262

6363
/// An implementation of `Parser` for `selectors`
64-
struct Parser;
64+
#[derive(Clone, Copy, Debug)]
65+
pub struct Parser;
6566
impl<'i> parser::Parser<'i> for Parser {
6667
type Impl = Simple;
6768
type Error = SelectorParseErrorKind<'i>;

0 commit comments

Comments
 (0)