diff --git a/src/atrule.rs b/src/atrule.rs index 4219991..a0703a2 100644 --- a/src/atrule.rs +++ b/src/atrule.rs @@ -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"),