Ported the get_loop_elements wrapper.

This commit is contained in:
Tom Alexander
2020-05-09 14:14:22 -04:00
parent 2712126b3c
commit d758a71fb4
3 changed files with 7 additions and 9 deletions

View File

@@ -23,5 +23,5 @@ pub trait Loopable {
/// once with the context being the element at that path. Finally,
/// if its an array-like value then it will render n-times, once
/// for each element of the array.
fn get_loop_elements(&self) -> Result<Vec<&dyn ContextElement>, RenderError>;
fn get_loop_elements(&self) -> Vec<&dyn ContextElement>;
}