aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorzseri <zseri.devel@ytrizja.de>2021-03-27 08:16:56 +0100
committerzseri <zseri.devel@ytrizja.de>2021-03-27 08:16:56 +0100
commit95b81e721297cf1dd481d744916ded04f91bebf0 (patch)
tree5170575dc052ba30be92c1d93ff36845c8110730 /src/main.rs
parentf4c6afe3eb48088fed57fb9fcc4dce44bd505234 (diff)
downloadmakers-95b81e721297cf1dd481d744916ded04f91bebf0.tar.gz
makers-95b81e721297cf1dd481d744916ded04f91bebf0.zip
omit args clone
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index e58188b..a78d9c1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -25,7 +25,7 @@ fn main() {
// TODO dump command-line args into MAKEFLAGS
// TODO dump command-line macros into environment
// TODO add SHELL macro
- let mut makefile = Makefile::new(args.clone());
+ let mut makefile = Makefile::new(&args);
for filename in &args.makefile {
if filename == &PathBuf::from("-") {
makefile.and_read(stdin().lock());