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 ff3b6c6 commit 4771a5cCopy full SHA for 4771a5c
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