aboutsummaryrefslogtreecommitdiff
path: root/src/executor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/executor.rs')
-rw-r--r--src/executor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/executor.rs b/src/executor.rs
index 4930c5f..bd9767b 100644
--- a/src/executor.rs
+++ b/src/executor.rs
@@ -95,8 +95,8 @@ impl Executor {
}
}
- pub fn execute(&mut self, bfile: BarbFile, print_headers: bool) -> Result<ureq::Response, String> {
- self.run(&bfile, self.make_req(&bfile, print_headers))
+ pub fn execute(&mut self, bfile: &BarbFile, print_headers: bool) -> Result<ureq::Response, String> {
+ self.run(bfile, self.make_req(&bfile, print_headers))
}
}