We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c16a257 commit 807c849Copy full SHA for 807c849
vm/src/pyobject.rs
@@ -649,7 +649,7 @@ impl PyObject<dyn PyObjectPayload> {
649
}
650
651
652
- /// Dowcast this PyObjectRef to an `Rc<PyObject<T>>`. The [`downcast`](#method.downcast) method
+ /// Downcast this PyObjectRef to an `Rc<PyObject<T>>`. The [`downcast`](#method.downcast) method
653
/// is generally preferred, as the `PyRef<T>` it returns implements `Deref<Target=T>`, and
654
/// therefore can be used similarly to an `&T`.
655
pub fn downcast_generic<T: PyObjectPayload>(
0 commit comments