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 27, 2020
1 parent 1a5d589 commit a20fa61
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 a20fa61

Please sign in to comment.