Merge pull request #2815 from jamestwebber/fix-typo

typo in slots.rs: SlotDesctuctor -> SlotDestructor
This commit is contained in:
Jim Fasarakis-Hilliard authored and GitHub committed 2021-08-09 04:46:07 +03:00
commit 430947a75e
1 file changed
+1 -1
+1 -1
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() {