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/devices/mode/continuous.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/devices/mode/continuous.rs') diff --git a/src/devices/mode/continuous.rs b/src/devices/mode/continuous.rs index 29471de..d2955aa 100644 --- a/src/devices/mode/continuous.rs +++ b/src/devices/mode/continuous.rs @@ -1,9 +1,10 @@ //! Continuous measurement mode -use super::super::OperatingMode; -use channels::ChannelSelection; +use crate::{ + channels::ChannelSelection, conversion, devices::OperatingMode, hal, interface, mode, Ads1x1x, + Error, ModeChangeError, Register, +}; use core::marker::PhantomData; -use {conversion, hal, interface, mode, Ads1x1x, Error, ModeChangeError, Register}; impl Ads1x1x where -- cgit v1.2.3-54-g00ecf