diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-18 14:51:40 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-18 15:23:57 -0700 |
| commit | d53cfd225a4e2b671b2b40b71725394c24fb1761 (patch) | |
| tree | dd99d901bd30cb08d82d2d4d8c01d92e8f13b4aa /src/libcore/vec.rs | |
| parent | 2ac64d91ac9df242c780d162863c8c0abce448b1 (diff) | |
| download | rust-d53cfd225a4e2b671b2b40b71725394c24fb1761.tar.gz rust-d53cfd225a4e2b671b2b40b71725394c24fb1761.zip | |
core: Move Exclusive and SharedMutableState to the private mod
Diffstat (limited to 'src/libcore/vec.rs')
| -rw-r--r-- | src/libcore/vec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/vec.rs b/src/libcore/vec.rs index f6e2d78e16f..843ae07c4bc 100644 --- a/src/libcore/vec.rs +++ b/src/libcore/vec.rs @@ -2239,8 +2239,8 @@ mod tests { #[test] fn test_swap_remove_noncopyable() { // Tests that we don't accidentally run destructors twice. - let mut v = ~[::unsafe::exclusive(()), ::unsafe::exclusive(()), - ::unsafe::exclusive(())]; + let mut v = ~[::private::exclusive(()), ::private::exclusive(()), + ::private::exclusive(())]; let mut _e = swap_remove(v, 0); assert (len(v) == 2); _e = swap_remove(v, 1); |
