core: Move Exclusive and SharedMutableState to the private mod
This commit is contained in:
parent
2ac64d91ac
commit
d53cfd225a
9 changed files with 428 additions and 429 deletions
|
|
@ -1,5 +1,5 @@
|
|||
fn main() {
|
||||
let x = Some(unsafe::exclusive(true));
|
||||
let x = Some(private::exclusive(true));
|
||||
match move x {
|
||||
Some(ref z) if z.with(|b| *b) => {
|
||||
do z.with |b| { assert *b; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue