mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-25 10:23:23 +00:00
Adjust the format of imports in Asterinas
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
92e488e727
commit
cfcef6965a
@ -9,22 +9,14 @@ extern crate alloc;
|
||||
|
||||
pub mod key;
|
||||
|
||||
use core::any::Any;
|
||||
use core::fmt::Debug;
|
||||
|
||||
use alloc::collections::BTreeMap;
|
||||
use alloc::string::String;
|
||||
use alloc::sync::Arc;
|
||||
use alloc::vec::Vec;
|
||||
use component::init_component;
|
||||
use component::ComponentInitError;
|
||||
use alloc::{collections::BTreeMap, string::String, sync::Arc, vec::Vec};
|
||||
use core::{any::Any, fmt::Debug};
|
||||
|
||||
use aster_frame::sync::SpinLock;
|
||||
use component::{init_component, ComponentInitError};
|
||||
use key::{Key, KeyStatus};
|
||||
use spin::Once;
|
||||
|
||||
use key::Key;
|
||||
use key::KeyStatus;
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum InputEvent {
|
||||
KeyBoard(Key, KeyStatus),
|
||||
|
Reference in New Issue
Block a user