io: Move use statement

Use the newly settled upon policy governing layout for imports.
This commit is contained in:
Tobin C. Harding 2023-12-08 10:40:40 +11:00
parent 21c44df76e
commit c038d00bd1
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 2 additions and 2 deletions

View File

@ -23,11 +23,11 @@ extern crate alloc;
mod error; mod error;
mod macros; mod macros;
use core::convert::TryInto;
#[rustfmt::skip] // Keep public re-exports separate. #[rustfmt::skip] // Keep public re-exports separate.
pub use self::error::{Error, ErrorKind}; pub use self::error::{Error, ErrorKind};
use core::convert::TryInto;
pub type Result<T> = core::result::Result<T, Error>; pub type Result<T> = core::result::Result<T, Error>;
/// A generic trait describing an input stream. See [`std::io::Read`] for more info. /// A generic trait describing an input stream. See [`std::io::Read`] for more info.