Skip to content

Commit 66af14f

Browse files
committed
Fix clippy warning of method missing # Safety section
Signed-off-by: Doru Blânzeanu <dblnz@pm.me>
1 parent 8d3558e commit 66af14f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hyperlight_host/src/sandbox/initialized_multi_use.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ impl MultiUseSandbox {
189189
/// `rgn.region_type` is ignored, since guest PTEs are not created
190190
/// for the new memory.
191191
///
192+
/// # Safety
192193
/// It is the caller's responsibility to ensure that the host side
193194
/// of the region remains intact and is not written to until this
194195
/// mapping is removed, either due to the destruction of the

0 commit comments

Comments
 (0)