mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
SlotDesctuctor -> SlotDestructor
This commit is contained in:
@@ -99,7 +99,7 @@ impl std::fmt::Debug for PyTypeSlots {
|
||||
}
|
||||
|
||||
#[pyimpl]
|
||||
pub trait SlotDesctuctor: PyValue {
|
||||
pub trait SlotDestructor: PyValue {
|
||||
#[pyslot]
|
||||
fn tp_del(zelf: &PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {
|
||||
if let Some(zelf) = zelf.downcast_ref() {
|
||||
|
||||
Reference in New Issue
Block a user