Tweak doc for PyDowncastError

This commit is contained in:
David Hewitt 2020-10-10 06:37:15 +01:00
parent cb90c5171d
commit f6644d51f3
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ unsafe impl Sync for PyErr {}
/// Represents the result of a Python call.
pub type PyResult<T> = Result<T, PyErr>;
/// 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,