Skip to content

Commit 05f2b22

Browse files
committed
Fix SGX library code implicit auto-ref
1 parent e8a6c17 commit 05f2b22

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/pal/sgx/abi/usercalls

1 file changed

+1
-1
lines changed

library/std/src/sys/pal/sgx/abi/usercalls/alloc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ where
675675

676676
/// Obtain the number of elements in this user slice.
677677
pub fn len(&self) -> usize {
678-
unsafe { (*self.0.get()).len() }
678+
unsafe { self.0.get().len() }
679679
}
680680

681681
/// Copies the value from user memory and appends it to `dest`.

0 commit comments

Comments
 (0)