Change expect("exists") to unwrap().
This commit is contained in:
@@ -660,7 +660,7 @@ impl Stmt {
|
||||
_ => (),
|
||||
}
|
||||
|
||||
path.pop().expect("contains current node");
|
||||
path.pop().unwrap();
|
||||
|
||||
true
|
||||
}
|
||||
|
Reference in New Issue
Block a user