From 3d7796de55f0b06e45aa8aa08ec353217125097d Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Sat, 27 May 2023 22:08:42 +0100 Subject: clippy --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 41d31d2..284f882 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -145,7 +145,7 @@ pub use crate::serde::{ #[cfg_attr(docsrs, doc(cfg(feature = "serialize")))] pub mod serde; -#[cfg(any(feature = "mlua_derive"))] +#[cfg(feature = "mlua_derive")] #[allow(unused_imports)] #[macro_use] extern crate mlua_derive; @@ -208,7 +208,7 @@ pub use crate::{ /// [`AsChunk`]: crate::AsChunk /// [`UserData`]: crate::UserData /// [`IntoLua`]: crate::IntoLua -#[cfg(any(feature = "macros"))] +#[cfg(feature = "macros")] #[cfg_attr(docsrs, doc(cfg(feature = "macros")))] pub use mlua_derive::chunk; -- cgit v1.2.3