From 690cf800deae92dde1dfc79eb997bb3eaa3bbd7a Mon Sep 17 00:00:00 2001 From: kk105 Date: Mon, 20 Jun 2022 17:22:24 +0800 Subject: [PATCH] Combine the line --- src/runtime/src/rtio_mgt.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/runtime/src/rtio_mgt.rs b/src/runtime/src/rtio_mgt.rs index b60e4a6e..e6cb5b5d 100644 --- a/src/runtime/src/rtio_mgt.rs +++ b/src/runtime/src/rtio_mgt.rs @@ -8,10 +8,7 @@ use libcortex_a9::mutex::Mutex; #[cfg(has_drtio)] pub mod drtio { use super::*; - use crate::SEEN_ASYNC_ERRORS; - use crate::ASYNC_ERROR_BUSY; - use crate::ASYNC_ERROR_SEQUENCE_ERROR; - use crate::ASYNC_ERROR_COLLISION; + use crate::{SEEN_ASYNC_ERRORS, ASYNC_ERROR_BUSY, ASYNC_ERROR_SEQUENCE_ERROR, ASYNC_ERROR_COLLISION}; use libboard_artiq::drtioaux_async; use libboard_artiq::drtioaux_async::Packet; use libboard_artiq::drtioaux::Error;