Merge Cant and Wont Walk.
This commit is contained in:
@@ -116,7 +116,7 @@ impl Walkable for serde_json::Value {
|
||||
serde_json::Value::Object(obj) => {
|
||||
obj.get(segment)
|
||||
.map(|val| val as _)
|
||||
.ok_or(RenderError::WontWalk {
|
||||
.ok_or(RenderError::CantWalk {
|
||||
segment: segment.to_string(),
|
||||
elem: self,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user