diff --git a/src/error.rs b/src/error.rs index 6033fa25..0d0f805e 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,4 +1,3 @@ -//! Error types use std::error::Error as StdError; use std::fmt::{self, Display, Formatter}; diff --git a/src/ffi/mod.rs b/src/ffi/mod.rs index 60abccd6..baa78d32 100644 --- a/src/ffi/mod.rs +++ b/src/ffi/mod.rs @@ -1,4 +1,3 @@ -#![allow(missing_docs, missing_debug_implementations)] use std::marker::PhantomData; use std::os::raw::c_char; use std::time::Duration; diff --git a/src/lib.rs b/src/lib.rs index f0a4629b..b15b6160 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] #[macro_use] -pub mod error; +mod error; pub use self::error::{Error, ErrorKind}; #[cfg(any(test, feature = "log"))] @@ -22,7 +22,7 @@ pub use askar_storage as storage; pub use askar_storage::future; #[cfg(feature = "ffi")] -pub mod ffi; +mod ffi; pub mod kms; diff --git a/src/store.rs b/src/store.rs index 94358e16..36834231 100644 --- a/src/store.rs +++ b/src/store.rs @@ -1,4 +1,3 @@ -//! module for askar store and session use askar_storage::backend::copy_profile; use crate::{