summaryrefslogtreecommitdiffstats
path: root/crates/rebel-parse/src/grammar/recipe.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rebel-parse/src/grammar/recipe.rs')
-rw-r--r--crates/rebel-parse/src/grammar/recipe.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rebel-parse/src/grammar/recipe.rs b/crates/rebel-parse/src/grammar/recipe.rs
index 73ddb2e..7b5d5d6 100644
--- a/crates/rebel-parse/src/grammar/recipe.rs
+++ b/crates/rebel-parse/src/grammar/recipe.rs
@@ -20,7 +20,7 @@ peg::parser! {
pub rule recipe_stmt() -> ast::RecipeStmt<'a>
= [Token::Keyword(Keyword::Fetch)] name:ident() p('{') body:body() p('}') {
- ast::RecipeStmt::Fetch { name, body: ast::Body(Vec::new()) }
+ ast::RecipeStmt::Fetch { name, body }
}
/ [Token::Keyword(Keyword::Task)] name:ident() p('(') params:func_params() p(')')
p('{') body:body() p('}') {