diff options
| author | bors <bors@rust-lang.org> | 2013-07-27 22:31:22 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-27 22:31:22 -0700 |
| commit | 9325535b41fa5a7cfac697e86ae86bd1384542e6 (patch) | |
| tree | f28193aa80d78d16efd25cf319fbd8b604125173 /src/libstd/vec.rs | |
| parent | 3078e83c3f1a643ddbdefa78095e4fbda3cecc02 (diff) | |
| parent | 39b3a0561f06b1ea01a12d8fc3372334116a7833 (diff) | |
| download | rust-9325535b41fa5a7cfac697e86ae86bd1384542e6.tar.gz rust-9325535b41fa5a7cfac697e86ae86bd1384542e6.zip | |
auto merge of #7978 : sstewartgallus/rust/rename_arc, r=bblum
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); |
