Adjust to breaking change rust-lang/rust#26728
This commit is contained in:
parent
a0d8670268
commit
04ea39d26f
|
@ -24,7 +24,7 @@ use err::PyResult;
|
|||
|
||||
/// Conversion trait that allows various objects to be converted into Python objects.
|
||||
pub trait ToPyObject<'p> {
|
||||
type ObjectType : PythonObject<'p> = PyObject<'p>;
|
||||
type ObjectType : PythonObject<'p>;
|
||||
|
||||
/// Converts self into a Python object.
|
||||
fn to_py_object(&self, py: Python<'p>) -> Self::ObjectType;
|
||||
|
|
Loading…
Reference in a new issue