Skip to content

Commit 2254c26

Browse files
committed
Clippy
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent 3d71fdd commit 2254c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hyperlight_host/src/mem/shared_mem.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ impl ExclusiveSharedMemory {
585585
/// the safety documentation of pointer::offset.
586586
///
587587
/// This is ensured by a check in ::new()
588-
pub(super) fn as_mut_slice<'a>(&'a mut self) -> &'a mut [u8] {
588+
pub(super) fn as_mut_slice(&mut self) -> &mut [u8] {
589589
unsafe { std::slice::from_raw_parts_mut(self.base_ptr(), self.mem_size()) }
590590
}
591591

0 commit comments

Comments
 (0)