Skip to content

Commit

Permalink
ast was wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Aug 30, 2020
1 parent 8d20c39 commit 1dde6f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions css/ast/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ pub struct StyleRule {
#[ast_node]
pub struct Selector {
pub span: Span,
pub tag: Option<TagSelector>,
pub base: BaseSelector,
pub pseudo_class: Option<Text>,
pub pseudo_element: Option<Text>,
Expand Down Expand Up @@ -72,8 +73,6 @@ pub enum BaseSelector {
Id(IdSelector),
#[tag("ClassSelector")]
Class(ClassSelector),
#[tag("TagSelector")]
Tag(TagSelector),
}

#[ast_node]
Expand Down

0 comments on commit 1dde6f6

Please sign in to comment.