The structure is all there, just need to implement owned_walk_path and clone on NewParametersContext.

This commit is contained in:
Tom Alexander
2020-05-10 21:34:18 -04:00
parent 4e274b9ea5
commit dade738f55
2 changed files with 15 additions and 3 deletions

View File

@@ -51,3 +51,11 @@ pub fn walk_path<'a>(
}
Err(WalkError::CantWalk)
}
pub fn owned_walk_path<'a>(
breadcrumbs: &Vec<Box<dyn ContextElement>>,
path: &Vec<String>,
) -> Result<&'a dyn ContextElement, WalkError> {
// TODO: Implement owned_walk_path
Err(WalkError::CantWalk)
}