summaryrefslogtreecommitdiffstats
path: root/src/interface.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/interface.rs
parentb7e9c9acf1bb42f4966930354135782bab57394a (diff)
downloadads1x1x-async-6aed921780dbe12c058e0aa0ce8b617e404b5a87.tar.gz
ads1x1x-async-6aed921780dbe12c058e0aa0ce8b617e404b5a87.tar.xz
ads1x1x-async-6aed921780dbe12c058e0aa0ce8b617e404b5a87.zip
Use edition 2018
Diffstat (limited to 'src/interface.rs')
-rw-r--r--src/interface.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/interface.rs b/src/interface.rs
index cf61b9b..960c7ef 100644
--- a/src/interface.rs
+++ b/src/interface.rs
@@ -1,8 +1,7 @@
//! I2C interface
-extern crate embedded_hal as hal;
-use hal::blocking;
-use {private, Error};
+use crate::{private, Error};
+use embedded_hal::blocking;
/// I2C interface
#[derive(Debug, Default)]