From c038d00bd12b7329485f129a598ac8150424cd73 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 8 Dec 2023 10:40:40 +1100 Subject: [PATCH] io: Move use statement Use the newly settled upon policy governing layout for imports. --- io/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io/src/lib.rs b/io/src/lib.rs index effb7f1d..d7488837 100644 --- a/io/src/lib.rs +++ b/io/src/lib.rs @@ -23,11 +23,11 @@ extern crate alloc; mod error; mod macros; +use core::convert::TryInto; + #[rustfmt::skip] // Keep public re-exports separate. pub use self::error::{Error, ErrorKind}; -use core::convert::TryInto; - pub type Result = core::result::Result; /// A generic trait describing an input stream. See [`std::io::Read`] for more info.