diff options
| author | Adolfo OchagavĂa <aochagavia92@gmail.com> | 2014-07-16 22:37:28 +0200 |
|---|---|---|
| committer | Adolfo OchagavĂa <aochagavia92@gmail.com> | 2014-07-17 16:35:48 +0200 |
| commit | 8107ef77f0647158e693c22bbee1a2f71a0c4e37 (patch) | |
| tree | f8817f12a4bc1503169b257be8dba1a4e698f4e9 /src/libsyntax | |
| parent | efbbb51ec0bfa371573bd4ae2c34b1ba69e11e11 (diff) | |
| download | rust-8107ef77f0647158e693c22bbee1a2f71a0c4e37.tar.gz rust-8107ef77f0647158e693c22bbee1a2f71a0c4e37.zip | |
Rename functions in the CloneableVector trait
* 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 58689389769..9fb25787c81 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -1544,7 +1544,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); |
