Skip to content

Commit e825f6e

Browse files
committed
Fix clippy warning of method missing # Safety section
Signed-off-by: Doru Blânzeanu <[email protected]>
1 parent e748867 commit e825f6e

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
@@ -136,6 +136,7 @@ impl MultiUseSandbox {
136136
/// `rgn.region_type` is ignored, since guest PTEs are not created
137137
/// for the new memory.
138138
///
139+
/// # Safety
139140
/// It is the caller's responsibility to ensure that the host side
140141
/// of the region remains intact and is not written to until this
141142
/// mapping is removed, either due to the destruction of the

0 commit comments

Comments
 (0)