Merge pull request #2815 from jamestwebber/fix-typo

typo in slots.rs: SlotDesctuctor -> SlotDestructor
This commit is contained in:
Jim Fasarakis-Hilliard
2021-08-09 04:46:07 +03:00
committed by GitHub

View File

@@ -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() {