summaryrefslogtreecommitdiffstats
path: root/src/devices/common.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2020-06-21 22:52:41 +0200
committerDiego Barrios Romero <eldruin@gmail.com>2020-06-21 22:52:41 +0200
commit6aed921780dbe12c058e0aa0ce8b617e404b5a87 (patch)
tree3b76c4d8946aede3e48fcfade62a2e19488ee118 /src/devices/common.rs
parentb7e9c9acf1bb42f4966930354135782bab57394a (diff)
downloadads1x1x-async-6aed921780dbe12c058e0aa0ce8b617e404b5a87.tar.gz
ads1x1x-async-6aed921780dbe12c058e0aa0ce8b617e404b5a87.tar.xz
ads1x1x-async-6aed921780dbe12c058e0aa0ce8b617e404b5a87.zip
Use edition 2018
Diffstat (limited to 'src/devices/common.rs')
-rw-r--r--src/devices/common.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/devices/common.rs b/src/devices/common.rs
index 57d67b9..2234d93 100644
--- a/src/devices/common.rs
+++ b/src/devices/common.rs
@@ -1,7 +1,6 @@
//! Common functions
-use super::OperatingMode;
-use {interface, Ads1x1x, BitFlags, Config, Error, Register};
+use crate::{devices::OperatingMode, interface, Ads1x1x, BitFlags, Config, Error, Register};
impl<DI, IC, CONV, MODE, E> Ads1x1x<DI, IC, CONV, MODE>
where