Generic implementation of CloneIntoBoxedContextElement.

This commit is contained in:
Tom Alexander
2020-05-10 21:07:31 -04:00
parent ba79369b5a
commit 256051220d
5 changed files with 11 additions and 31 deletions

View File

@@ -245,23 +245,9 @@ impl<'a> DustRenderer<'a> {
RValue::RVPath(path) => walk_path(breadcrumbs, &path.keys),
},
};
// if left_side.unwrap().equals(right_side.unwrap()) {
// panic!("testing");
// }
// if left_side.unwrap() == right_side.unwrap() {
// panic!("testing");
// }
if left_side == right_side {
panic!("testing");
}
// let x = WalkError::CantWalk;
// let y = WalkError::CantWalk;
// if x == y {
// panic!("placeholder");
// }
// if left_side.unwrap() == right_side.unwrap() {
// panic!("placeholder");
// }
}
_ => (), // TODO: Implement the rest
}