Skip to content

Commit 807c849

Browse files
Fix typo
Co-Authored-By: Jeong YunWon <youknowone@users.noreply.github.com>
1 parent c16a257 commit 807c849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/pyobject.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ impl PyObject<dyn PyObjectPayload> {
649649
}
650650
}
651651

652-
/// Dowcast this PyObjectRef to an `Rc<PyObject<T>>`. The [`downcast`](#method.downcast) method
652+
/// Downcast this PyObjectRef to an `Rc<PyObject<T>>`. The [`downcast`](#method.downcast) method
653653
/// is generally preferred, as the `PyRef<T>` it returns implements `Deref<Target=T>`, and
654654
/// therefore can be used similarly to an `&T`.
655655
pub fn downcast_generic<T: PyObjectPayload>(

0 commit comments

Comments
 (0)