From 8016a126ee3ac458fe9c935994d099ede611265e Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sun, 21 Jun 2020 23:26:17 +0200 Subject: Reorder imports --- src/lib.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 41f20a6..269edba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -221,22 +221,22 @@ impl BitFlags { const COMP_QUE0: u16 = 0b0000_0000_0000_0001; } +mod channels; +pub use crate::channels::channel; +mod construction; +mod conversion; +pub use crate::conversion::{ConvertMeasurement, ConvertThreshold}; +mod devices; +#[doc(hidden)] +pub mod ic; +#[doc(hidden)] +pub mod interface; mod types; use crate::types::Config; pub use crate::types::{ mode, Ads1x1x, ComparatorLatching, ComparatorMode, ComparatorPolarity, ComparatorQueue, DataRate12Bit, DataRate16Bit, Error, FullScaleRange, ModeChangeError, SlaveAddr, }; -mod channels; -#[doc(hidden)] -pub mod ic; -#[doc(hidden)] -pub mod interface; -pub use crate::channels::channel; -mod construction; -mod conversion; -mod devices; -pub use crate::conversion::{ConvertMeasurement, ConvertThreshold}; mod private { use super::{ic, interface}; -- cgit v1.2.3-54-g00ecf