diff options
| author | Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca> | 2013-07-22 13:57:40 -0700 |
|---|---|---|
| committer | Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca> | 2013-07-27 22:06:29 -0700 |
| commit | d0b7515aedcaa161bb206e651a374d7ff27e52a7 (patch) | |
| tree | 9497eea70b9db687a4d6bd4f84bcefa836451b1d /src/libstd/vec.rs | |
| parent | 3078e83c3f1a643ddbdefa78095e4fbda3cecc02 (diff) | |
| download | rust-d0b7515aedcaa161bb206e651a374d7ff27e52a7.tar.gz rust-d0b7515aedcaa161bb206e651a374d7ff27e52a7.zip | |
Change concurrency primitives to standard naming conventions
To be more specific: `UPPERCASETYPE` was changed to `UppercaseType` `type_new` was changed to `Type::new` `type_function(value)` was changed to `value.method()`
Diffstat (limited to 'src/libstd/vec.rs')
| -rw-r--r-- | src/libstd/vec.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index 379deff233c..54057be5268 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -2563,9 +2563,9 @@ mod tests { #[test] fn test_swap_remove_noncopyable() { // Tests that we don't accidentally run destructors twice. - let mut v = ~[::unstable::sync::exclusive(()), - ::unstable::sync::exclusive(()), - ::unstable::sync::exclusive(())]; + let mut v = ~[::unstable::sync::Exclusive::new(()), + ::unstable::sync::Exclusive::new(()), + ::unstable::sync::Exclusive::new(())]; let mut _e = v.swap_remove(0); assert_eq!(v.len(), 2); _e = v.swap_remove(1); |
