Merge pull request #399 from s3bk/master

Remove T: ToPyObject requirement for the IntoPyObject impl of Vec<T> #398
This commit is contained in:
Yuji Kanagawa 2019-03-16 11:01:37 +09:00 committed by GitHub
commit 5a421fcdc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -191,7 +191,7 @@ where
impl<T> IntoPyObject for Vec<T>
where
T: IntoPyObject + ToPyObject,
T: IntoPyObject,
{
fn into_object(self, py: Python) -> PyObject {
unsafe {