mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Fix let_underscore_lock Clippy errror
This commit is contained in:
@@ -3277,7 +3277,7 @@ mod _io {
|
||||
|
||||
#[pymethod]
|
||||
fn close(self, vm: &VirtualMachine) -> PyResult<()> {
|
||||
let _ = self.try_resizable(vm)?;
|
||||
drop(self.try_resizable(vm)?);
|
||||
self.closed.store(true);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user