Skip to content

Commit 593a550

Browse files
committed
Fixing warning in context mod under feature-specific compilation
1 parent 05f4278 commit 593a550

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/context.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use core::marker::PhantomData;
2-
use core::mem::{self, ManuallyDrop};
2+
use core::mem::ManuallyDrop;
33
use ffi::{self, CPtr, types::AlignedType};
44
use ffi::types::{c_uint, c_void};
55
use Error;
@@ -105,7 +105,7 @@ mod alloc_only {
105105
impl private::Sealed for VerifyOnly {}
106106

107107
use super::*;
108-
const ALIGN_TO: usize = mem::align_of::<AlignedType>();
108+
const ALIGN_TO: usize = ::core::mem::align_of::<AlignedType>();
109109

110110
/// Represents the set of capabilities needed for signing.
111111
pub enum SignOnly {}

0 commit comments

Comments
 (0)