Skip to content

Commit 9cab670

Browse files
authored
Remove uneeded mutable variable declaration (RustPython#5004)
1 parent 6fb1553 commit 9cab670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/dictdatatype.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ impl<T: Clone> Dict<T> {
655655
}
656656

657657
pub fn pop_back(&self) -> Option<(PyObjectRef, T)> {
658-
let mut inner = &mut *self.write();
658+
let inner = &mut *self.write();
659659
let entry = loop {
660660
let entry = inner.entries.pop()?;
661661
if let Some(entry) = entry {

0 commit comments

Comments
 (0)