cleaning up.
This commit is contained in:
parent
68639481f5
commit
7dd824ab4f
@ -1,6 +1,5 @@
|
|||||||
extern crate nom;
|
extern crate nom;
|
||||||
|
|
||||||
use crate::renderer::CloneIntoBoxedContextElement;
|
|
||||||
use crate::renderer::CompareContextElement;
|
use crate::renderer::CompareContextElement;
|
||||||
use parser::Filter;
|
use parser::Filter;
|
||||||
use renderer::compile_template;
|
use renderer::compile_template;
|
||||||
@ -12,7 +11,6 @@ use renderer::RenderError;
|
|||||||
use renderer::Renderable;
|
use renderer::Renderable;
|
||||||
use renderer::WalkError;
|
use renderer::WalkError;
|
||||||
use renderer::Walkable;
|
use renderer::Walkable;
|
||||||
use std::any::Any;
|
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
use std::io::{self, Read};
|
use std::io::{self, Read};
|
||||||
|
@ -1,17 +1,13 @@
|
|||||||
use crate::parser::KVPair;
|
use crate::parser::KVPair;
|
||||||
use crate::parser::{Filter, RValue};
|
use crate::parser::{Filter, RValue};
|
||||||
use crate::renderer::context_element::CastToAny;
|
|
||||||
use crate::renderer::context_element::CloneIntoBoxedContextElement;
|
|
||||||
use crate::renderer::context_element::CompareContextElement;
|
use crate::renderer::context_element::CompareContextElement;
|
||||||
use crate::renderer::context_element::ContextElement;
|
use crate::renderer::context_element::ContextElement;
|
||||||
use crate::renderer::walking::owned_walk_path;
|
use crate::renderer::walking::owned_walk_path;
|
||||||
use crate::renderer::walking::walk_path;
|
|
||||||
use crate::renderer::Loopable;
|
use crate::renderer::Loopable;
|
||||||
use crate::renderer::RenderError;
|
use crate::renderer::RenderError;
|
||||||
use crate::renderer::Renderable;
|
use crate::renderer::Renderable;
|
||||||
use crate::renderer::WalkError;
|
use crate::renderer::WalkError;
|
||||||
use crate::renderer::Walkable;
|
use crate::renderer::Walkable;
|
||||||
use std::any::Any;
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
/// Copy the data from an RValue to an Owned struct
|
/// Copy the data from an RValue to an Owned struct
|
||||||
|
@ -245,7 +245,6 @@ impl<'a> DustRenderer<'a> {
|
|||||||
RValue::RVPath(path) => walk_path(breadcrumbs, &path.keys),
|
RValue::RVPath(path) => walk_path(breadcrumbs, &path.keys),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
println!("Comparing {:?} to {:?}", left_side, right_side);
|
|
||||||
if left_side == right_side {
|
if left_side == right_side {
|
||||||
match ¶meterized_block.contents {
|
match ¶meterized_block.contents {
|
||||||
None => return Ok("".to_owned()),
|
None => return Ok("".to_owned()),
|
||||||
|
Loading…
Reference in New Issue
Block a user