Going extreme: removing all fields and unifying all walk errors.

This commit is contained in:
Tom Alexander
2020-05-09 14:00:19 -04:00
parent b20368c586
commit fcb2f3fc4d
3 changed files with 6 additions and 11 deletions

View File

@@ -15,15 +15,8 @@ pub enum RenderError<'a> {
},
}
pub enum WalkError<'a> {
CantWalk {
segment: String,
elem: &'a dyn ContextElement,
},
NotFound {
path: &'a Vec<&'a str>,
breadcrumbs: Vec<&'a dyn ContextElement>,
},
pub enum WalkError {
CantWalk,
}
#[derive(Clone)]