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.
1 parent bf6daef commit 94008d6Copy full SHA for 94008d6
src/kernel/manager_cluster.rs
@@ -38,5 +38,5 @@ pub struct KernelManagerCluster {
38
#[inline(always)]
39
pub fn get_kernel_manager_cluster() -> &'static mut KernelManagerCluster {
40
/* You must assign new struct before use the structs!! */
41
- unsafe { STATIC_KERNEL_MANAGER_CLUSTER.get_mut() }
+ unsafe { STATIC_KERNEL_MANAGER_CLUSTER.assume_init_mut() }
42
}
0 commit comments