Skip to content

Commit

Permalink
Merge pull request #151 from j-mendez/public-parser
Browse files Browse the repository at this point in the history
chore(selector): add public parser
  • Loading branch information
cfvescovo authored Oct 19, 2023
2 parents 8bc800d + e1fd6fd commit fa48ee7
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 @@ -69,7 +69,8 @@ impl ToCss for 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 fa48ee7

Please sign in to comment.