fix missing use

This commit is contained in:
Nikolay Kim 2017-06-11 23:46:54 -07:00
parent acc00b7738
commit b8559519ca

View file

@ -45,7 +45,7 @@ pub fn py3_init(fnname: &syn::Ident, name: &String) -> Tokens {
Err(e) => {
_pyo3::PyErr::from(e).restore(py);
std::mem::forget(guard);
return ptr::null_mut();
return std::ptr::null_mut();
}
};
let ret = match #fnname(py, &module) {