Disable dead code lint for unstable module

This commit is contained in:
Alexandre Bury 2019-03-11 11:52:58 -07:00
parent 0ec1a77849
commit b2a0fa18ff

View File

@ -53,7 +53,9 @@ mod boxable;
mod identifiable; mod identifiable;
#[cfg(feature = "unstable_scroll")] #[cfg(feature = "unstable_scroll")]
pub mod scroll; pub mod scroll;
#[cfg(not(feature = "unstable_scroll"))] #[cfg(not(feature = "unstable_scroll"))]
#[allow(dead_code)]
pub(crate) mod scroll; pub(crate) mod scroll;
mod scroll_base; mod scroll_base;