Skip to content

Commit

Permalink
chore(selector): add public parser
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Oct 5, 2023
1 parent 88a65c1 commit e1fd6fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit e1fd6fd

Please sign in to comment.