Fix some clippy errors
This commit is contained in:
+7
-5
@@ -12,8 +12,10 @@
|
||||
)]
|
||||
|
||||
extern crate alloc;
|
||||
use crate::prelude::*;
|
||||
use crate::arch::x86_64::memory::memory::{init_frame_allocator, init_page_table};
|
||||
use crate::{
|
||||
arch::x86_64::memory::{init_frame_allocator, init_page_table},
|
||||
prelude::*,
|
||||
};
|
||||
use arch::x86_64::memory::allocation::allocator::init_heap;
|
||||
use arch::x86_64::memory::memory_map;
|
||||
use core::arch::asm;
|
||||
@@ -27,10 +29,10 @@ pub mod std;
|
||||
pub mod util;
|
||||
|
||||
pub mod prelude {
|
||||
pub use crate::std::io::{
|
||||
_print, _print_log, _serial_write
|
||||
pub use crate::std::io::{_print, _print_log, _serial_write};
|
||||
pub use crate::{
|
||||
print, print_log, printerr, println, println_log, printlnerr, serial_print, serial_println,
|
||||
};
|
||||
pub use crate::{print, println, print_log, println_log, printerr, printlnerr, serial_print, serial_println};
|
||||
}
|
||||
|
||||
/// Sets the base revision to the latest revision supported by the crate.
|
||||
|
||||
Reference in New Issue
Block a user