Skip to content

Commit 04ea39d

Browse files
committed
Adjust to breaking change rust-lang/rust#26728
1 parent a0d8670 commit 04ea39d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conversion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use err::PyResult;
2424

2525
/// Conversion trait that allows various objects to be converted into Python objects.
2626
pub trait ToPyObject<'p> {
27-
type ObjectType : PythonObject<'p> = PyObject<'p>;
27+
type ObjectType : PythonObject<'p>;
2828

2929
/// Converts self into a Python object.
3030
fn to_py_object(&self, py: Python<'p>) -> Self::ObjectType;

0 commit comments

Comments
 (0)