Combine the render traits into a single context_element file.

This commit is contained in:
Tom Alexander
2020-04-28 19:09:02 -04:00
parent 41ad6179d1
commit c961cf7ab8
5 changed files with 13 additions and 16 deletions

View File

@@ -3,9 +3,9 @@ use crate::parser::Body;
use crate::parser::DustTag;
use crate::parser::Template;
use crate::parser::TemplateElement;
use crate::renderer::context_element::ContextElement;
use crate::renderer::errors::CompileError;
use crate::renderer::errors::RenderError;
use crate::renderer::walkable::ContextElement;
use std::collections::HashMap;
#[derive(Clone, Debug)]
@@ -114,8 +114,8 @@ fn walk_path<'a>(
mod tests {
use super::*;
use crate::parser::Filter;
use crate::renderer::renderable::Renderable;
use crate::renderer::walkable::Walkable;
use crate::renderer::context_element::Renderable;
use crate::renderer::context_element::Walkable;
#[test]
fn test_walk_path() {