Skip to content

Commit 232ac63

Browse files
authored
Rollup merge of rust-lang#85029 - jethrogb:jb/sgx-movable-mutex, r=m-ou-se
SGX mutex is movable r? ``@m-ou-se``
2 parents 1b3e491 + 9cbf90e commit 232ac63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/sys/sgx/mutex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub struct Mutex {
88
inner: SpinMutex<WaitVariable<bool>>,
99
}
1010

11-
pub type MovableMutex = Box<Mutex>;
11+
pub type MovableMutex = Mutex;
1212

1313
// Implementation according to “Operating Systems: Three Easy Pieces”, chapter 28
1414
impl Mutex {

0 commit comments

Comments
 (0)