From ed5090e427d05a0c8d413c20b754a93214034db2 Mon Sep 17 00:00:00 2001 From: Guillaume Pasquet Date: Tue, 15 Feb 2022 21:25:13 +0000 Subject: Add gitlab-ci --- src/executor.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/executor.rs') diff --git a/src/executor.rs b/src/executor.rs index 189df6f..ef97ace 100644 --- a/src/executor.rs +++ b/src/executor.rs @@ -20,7 +20,7 @@ impl Context { pub fn empty() -> Context { Context { - vars: HashMap::new() + vars: HashMap::new(), } } @@ -52,9 +52,7 @@ pub struct Executor { impl Executor { pub fn new(context: Context) -> Executor { - Executor { - context - } + Executor { context } } pub fn execute(&mut self, bfile: BarbFile) -> Result { -- cgit v1.2.3