From 593a550e3fee957c16066c6c568ae399d66234e8 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Sat, 19 Jun 2021 12:54:43 +0200 Subject: [PATCH] Fixing warning in context mod under feature-specific compilation --- src/context.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/context.rs b/src/context.rs index ec8b193..59831d3 100644 --- a/src/context.rs +++ b/src/context.rs @@ -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::(); + const ALIGN_TO: usize = ::core::mem::align_of::(); /// Represents the set of capabilities needed for signing. pub enum SignOnly {}