From 6aed921780dbe12c058e0aa0ce8b617e404b5a87 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sun, 21 Jun 2020 22:52:41 +0200 Subject: Use edition 2018 --- src/interface.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/interface.rs') 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)] -- cgit v1.2.3-54-g00ecf