@at-rule has a hyphen

This commit is contained in:
ConnorSkees 2020-01-26 10:53:26 -05:00
parent 43c7914622
commit 6c41d7722b

View File

@ -170,7 +170,7 @@ impl TryFrom<&str> for AtRuleKind {
"function" => Ok(Self::Function),
"return" => Ok(Self::Return),
"extend" => Ok(Self::Extend),
"atroot" => Ok(Self::AtRoot),
"at-root" => Ok(Self::AtRoot),
"error" => Ok(Self::Error),
"warn" => Ok(Self::Warn),
"debug" => Ok(Self::Debug),
@ -212,7 +212,7 @@ impl Display for AtRuleKind {
Self::Function => write!(f, "@function"),
Self::Return => write!(f, "@return"),
Self::Extend => write!(f, "@extend"),
Self::AtRoot => write!(f, "@atroot"),
Self::AtRoot => write!(f, "@at-root"),
Self::Error => write!(f, "@error"),
Self::Warn => write!(f, "@warn"),
Self::Debug => write!(f, "@debug"),