diff --git a/src/err/mod.rs b/src/err/mod.rs index 724ce0ca..294cbe9b 100644 --- a/src/err/mod.rs +++ b/src/err/mod.rs @@ -40,7 +40,7 @@ unsafe impl Sync for PyErr {} /// Represents the result of a Python call. pub type PyResult = Result; -/// Marker type that indicates an error while downcasting +/// Error that indicates a failure to convert a PyAny to a more specific Python type. #[derive(Debug)] pub struct PyDowncastError<'a> { from: &'a PyAny,