Fixing warning in context mod under feature-specific compilation

This commit is contained in:
Dr Maxim Orlovsky 2021-06-19 12:54:43 +02:00
parent 05f4278499
commit 593a550e3f
No known key found for this signature in database
GPG Key ID: FFC0250947E5C6F7
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
use core::marker::PhantomData;
use core::mem::{self, ManuallyDrop};
use core::mem::ManuallyDrop;
use ffi::{self, CPtr, types::AlignedType};
use ffi::types::{c_uint, c_void};
use Error;
@ -105,7 +105,7 @@ mod alloc_only {
impl private::Sealed for VerifyOnly {}
use super::*;
const ALIGN_TO: usize = mem::align_of::<AlignedType>();
const ALIGN_TO: usize = ::core::mem::align_of::<AlignedType>();
/// Represents the set of capabilities needed for signing.
pub enum SignOnly {}