summaryrefslogtreecommitdiff
path: root/src/syntax/ast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/ast.rs')
-rw-r--r--src/syntax/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/ast.rs b/src/syntax/ast.rs
index ceda2d57..4bab0c42 100644
--- a/src/syntax/ast.rs
+++ b/src/syntax/ast.rs
@@ -1505,7 +1505,7 @@ node! {
impl SetRule {
/// The function to set style properties for.
- pub fn target(&self) -> Ident {
+ pub fn target(&self) -> Expr {
self.0.cast_first_match().expect("set rule is missing target")
}