From b2a0fa18ff5e618f0a05ae2317dfa9dda6642e42 Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Mon, 11 Mar 2019 11:52:58 -0700 Subject: [PATCH] Disable dead code lint for unstable module --- src/view/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/view/mod.rs b/src/view/mod.rs index 8a763d4..79570fd 100644 --- a/src/view/mod.rs +++ b/src/view/mod.rs @@ -53,7 +53,9 @@ mod boxable; mod identifiable; #[cfg(feature = "unstable_scroll")] pub mod scroll; + #[cfg(not(feature = "unstable_scroll"))] +#[allow(dead_code)] pub(crate) mod scroll; mod scroll_base;