Adjust to breaking change rust-lang/rust#26728

This commit is contained in:
Daniel Grunwald 2015-07-08 22:47:56 +02:00
parent a0d8670268
commit 04ea39d26f

View file

@ -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;