diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-01 15:57:17 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-02 02:59:03 +1100 |
| commit | 2ed980fe253d0b7103ff0b16ce2aeecb03f09203 (patch) | |
| tree | 7c4892e371519a81effee35d982f4caaf0b23453 /src/libstd/path/windows.rs | |
| parent | e0c1707560d02bb5805b33cb17e8abfc339eb16b (diff) | |
| download | rust-2ed980fe253d0b7103ff0b16ce2aeecb03f09203.tar.gz rust-2ed980fe253d0b7103ff0b16ce2aeecb03f09203.zip | |
std,extra: remove use of & support for @[].
Diffstat (limited to 'src/libstd/path/windows.rs')
| -rw-r--r-- | src/libstd/path/windows.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs index 2578acaf41c..eec6f37b627 100644 --- a/src/libstd/path/windows.rs +++ b/src/libstd/path/windows.rs @@ -1587,8 +1587,6 @@ mod tests { #[test] fn test_push_many() { - use to_man = at_vec::to_managed_move; - macro_rules! t( (s: $path:expr, $push:expr, $exp:expr) => ( { @@ -1613,8 +1611,6 @@ mod tests { t!(v: b!("a\\b\\c"), [b!("d"), b!("e")], b!("a\\b\\c\\d\\e")); t!(v: b!("a\\b\\c"), [b!("d"), b!("\\e"), b!("f")], b!("\\e\\f")); t!(v: b!("a\\b\\c"), [b!("d").to_owned(), b!("e").to_owned()], b!("a\\b\\c\\d\\e")); - t!(v: b!("a\\b\\c"), [to_man(b!("d").to_owned()), to_man(b!("e").to_owned())], - b!("a\\b\\c\\d\\e")); } #[test] @@ -1731,8 +1727,6 @@ mod tests { #[test] fn test_join_many() { - use to_man = at_vec::to_managed_move; - macro_rules! t( (s: $path:expr, $join:expr, $exp:expr) => ( { @@ -1756,8 +1750,6 @@ mod tests { t!(s: "a\\b\\c", [~"d", ~"e"], "a\\b\\c\\d\\e"); t!(v: b!("a\\b\\c"), [b!("d"), b!("e")], b!("a\\b\\c\\d\\e")); t!(v: b!("a\\b\\c"), [b!("d").to_owned(), b!("e").to_owned()], b!("a\\b\\c\\d\\e")); - t!(v: b!("a\\b\\c"), [to_man(b!("d").to_owned()), to_man(b!("e").to_owned())], - b!("a\\b\\c\\d\\e")); } #[test] |
