summaryrefslogtreecommitdiff
path: root/rust/kernel/sync/locked_by.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/kernel/sync/locked_by.rs')
-rw-r--r--rust/kernel/sync/locked_by.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/sync/locked_by.rs b/rust/kernel/sync/locked_by.rs
index 61f100a45b35..fb4a1430b3b4 100644
--- a/rust/kernel/sync/locked_by.rs
+++ b/rust/kernel/sync/locked_by.rs
@@ -3,7 +3,7 @@
//! A wrapper for data protected by a lock that does not wrap it.
use super::{lock::Backend, lock::Lock};
-use crate::build_assert;
+use crate::build_assert::build_assert;
use core::{cell::UnsafeCell, mem::size_of, ptr};
/// Allows access to some data to be serialised by a lock that does not wrap it.