Fix warnings surfaced in Rust 1.71

This commit is contained in:
Max Brunsfeld 2023-08-02 09:19:23 -07:00
parent 4c7d60ed13
commit a127b0d3e6
7 changed files with 5 additions and 9 deletions

View file

@ -202,7 +202,7 @@ where
self.position = D::default();
}
let mut entry = self.stack.last_mut().unwrap();
let entry = self.stack.last_mut().unwrap();
if !descending {
if entry.index == 0 {
self.stack.pop();