summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-09-19 11:24:51 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-09-19 11:26:53 +0200
commit8662c9effd8ba22917dfab4ac2295074d77d5c10 (patch)
tree1e9b72a26ed42e33d50b34d967f7c7a468c40fc5 /src/main.rs
parent9c860e5cf1787cc869b55f4e11220c7286b68dfe (diff)
downloadrebel-8662c9effd8ba22917dfab4ac2295074d77d5c10.tar
rebel-8662c9effd8ba22917dfab4ac2295074d77d5c10.zip
Add map of JSON values to TaskArgs
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 25968a4..f731cc4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -32,7 +32,7 @@ fn main() {
for task in opts.tasks {
let task_ref = ctx
- .make_ref(&TaskID(task), &TaskArgs {})
+ .make_ref(&TaskID(task), &TaskArgs(Default::default()))
.expect("Unknown task");
let errors = rsv.add_goal(&task_ref);
if !errors.is_empty() {