From 399fe1d99ebf80630283d51cf73177f3e4510645 Mon Sep 17 00:00:00 2001 From: Connor Skees Date: Fri, 7 Aug 2020 02:12:13 -0400 Subject: [PATCH] rustfmt --- src/builtin/modules/mod.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/builtin/modules/mod.rs b/src/builtin/modules/mod.rs index 8a12a9d..f9da0c6 100644 --- a/src/builtin/modules/mod.rs +++ b/src/builtin/modules/mod.rs @@ -107,7 +107,10 @@ impl Modules { impl Module { pub fn new_builtin() -> Self { - Module { scope: Scope::default(), is_builtin: true } + Module { + scope: Scope::default(), + is_builtin: true, + } } pub fn get_var(&self, name: Spanned) -> SassResult<&Value> { @@ -127,11 +130,7 @@ impl Module { pub fn update_var(&mut self, name: Spanned, value: Value) -> SassResult<()> { if self.is_builtin { - return Err(( - "Cannot modify built-in variable.", - name.span, - ) - .into()); + return Err(("Cannot modify built-in variable.", name.span).into()); } if name.node.as_str().starts_with('-') {