We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
kernel
LayoutError
core
1 parent 9ff586f commit e951853Copy full SHA for e951853
rust/kernel/error.rs
@@ -4,9 +4,10 @@
4
//!
5
//! C header: [`include/uapi/asm-generic/errno-base.h`](srctree/include/uapi/asm-generic/errno-base.h)
6
7
-use crate::{alloc::AllocError, str::CStr};
8
-
9
-use core::alloc::LayoutError;
+use crate::{
+ alloc::{layout::LayoutError, AllocError},
+ str::CStr,
10
+};
11
12
use core::fmt;
13
use core::num::NonZeroI32;
0 commit comments