File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1075,7 +1075,10 @@ fn impl_complex_enum(
10751075 type Output = #pyo3_path:: Bound <' py, Self :: Target >;
10761076 type Error = #pyo3_path:: PyErr ;
10771077
1078- fn into_pyobject( self , py: #pyo3_path:: Python <' py>) -> :: std:: result:: Result <Self :: Output , Self :: Error > {
1078+ fn into_pyobject( self , py: #pyo3_path:: Python <' py>) -> :: std:: result:: Result <
1079+ <Self as #pyo3_path:: conversion:: IntoPyObject >:: Output ,
1080+ <Self as #pyo3_path:: conversion:: IntoPyObject >:: Error ,
1081+ > {
10791082 match self {
10801083 #( #match_arms) *
10811084 }
@@ -2164,7 +2167,10 @@ impl<'a> PyClassImplsBuilder<'a> {
21642167 type Output = #pyo3_path:: Bound <' py, Self :: Target >;
21652168 type Error = #pyo3_path:: PyErr ;
21662169
2167- fn into_pyobject( self , py: #pyo3_path:: Python <' py>) -> :: std:: result:: Result <Self :: Output , Self :: Error > {
2170+ fn into_pyobject( self , py: #pyo3_path:: Python <' py>) -> :: std:: result:: Result <
2171+ <Self as #pyo3_path:: conversion:: IntoPyObject >:: Output ,
2172+ <Self as #pyo3_path:: conversion:: IntoPyObject >:: Error ,
2173+ > {
21682174 #pyo3_path:: Bound :: new( py, self )
21692175 }
21702176 }
You can’t perform that action at this time.
0 commit comments