Merge pull request #551 from PyO3/remove-an-unsafe

Remove an unsafe
This commit is contained in:
konstin 2019-07-21 21:43:17 +02:00 committed by GitHub
commit 20534ec22a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ mod typeobject {
impl Default for PyNumberMethods {
#[inline]
fn default() -> Self {
unsafe { mem::zeroed() }
PyNumberMethods_INIT
}
}
macro_rules! as_expr {