Skip to content

Commit

Permalink
fix: rolling errors for render and try convert api (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
swarnimarun authored Dec 13, 2023
1 parent 4e554cc commit f77ac3e
Show file tree
Hide file tree
Showing 13 changed files with 425 additions and 304 deletions.
2 changes: 1 addition & 1 deletion src/recipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub mod jinja;

/// A trait to render a certain stage1 node into its final type.
pub(crate) trait Render<T> {
fn render(&self, jinja: &Jinja, name: &str) -> Result<T, error::PartialParsingError>;
fn render(&self, jinja: &Jinja, name: &str) -> Result<T, Vec<error::PartialParsingError>>;
}

#[cfg(test)]
Expand Down
Loading

0 comments on commit f77ac3e

Please sign in to comment.