diff options
| author | bors <bors@rust-lang.org> | 2014-07-18 03:46:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-18 03:46:23 +0000 |
| commit | 8a308b167f3a7feea3f1cd4b3be0a5048872e041 (patch) | |
| tree | 615c76b7713cf1fc1b75d993a27b7843db3d57e8 /src/libsyntax | |
| parent | cebed8ab921e7e5f539236ae7ef87ee1992eaaaf (diff) | |
| parent | 8107ef77f0647158e693c22bbee1a2f71a0c4e37 (diff) | |
| download | rust-8a308b167f3a7feea3f1cd4b3be0a5048872e041.tar.gz rust-8a308b167f3a7feea3f1cd4b3be0a5048872e041.zip | |
auto merge of #15725 : aochagavia/rust/vec, r=alexcrichton
* Deprecated `to_owned` in favor of `to_vec` * Deprecated `into_owned` in favor of `into_vec` [breaking-change]
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index a098139b36d..1cbe863e4e4 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -1546,7 +1546,7 @@ mod test { fn run_renaming_test(t: &RenamingTest, test_idx: uint) { let invalid_name = token::special_idents::invalid.name; let (teststr, bound_connections, bound_ident_check) = match *t { - (ref str,ref conns, bic) => (str.to_owned(), conns.clone(), bic) + (ref str,ref conns, bic) => (str.to_string(), conns.clone(), bic) }; let cr = expand_crate_str(teststr.to_string()); let bindings = crate_bindings(&cr); |
