This commit is contained in:
ConnorSkees 2020-01-18 09:52:21 -05:00
parent abdfa1b876
commit 31d8017a01
2 changed files with 2 additions and 4 deletions

View File

@ -384,9 +384,7 @@ fn eat_include<I: Iterator<Item = Token>>(
} else { } else {
return Err((pos, "expected identifier")); return Err((pos, "expected identifier"));
}; };
let rules = mixin let rules = mixin.args(&args).call(super_selector)?;
.args(&args)
.call(super_selector)?;
Ok(rules) Ok(rules)
} }

View File

@ -38,7 +38,7 @@ impl Mixin {
self self
} }
pub fn call(&mut self, super_selector: &Selector,) -> Result<Vec<Stmt>, (Pos, &'static str)> { pub fn call(&mut self, super_selector: &Selector) -> Result<Vec<Stmt>, (Pos, &'static str)> {
self.eval(super_selector, &mut self.scope.clone()) self.eval(super_selector, &mut self.scope.clone())
} }