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 b6357e2 commit 7871c61Copy full SHA for 7871c61
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