diff options
| author | Wesley Wiser <wwiser@gmail.com> | 2015-07-10 08:19:21 -0400 |
|---|---|---|
| committer | Wesley Wiser <wwiser@gmail.com> | 2015-07-10 19:40:46 -0400 |
| commit | 93ddee6cee6816843035575ddf0bf0309021ebc5 (patch) | |
| tree | fcba0de278934ca2d48a6239ba059b0aaeba2b0f /src/libsyntax/ext/tt | |
| parent | 29c0c956bf8ba9d6cdb1723d40685514bc9c17ef (diff) | |
| download | rust-93ddee6cee6816843035575ddf0bf0309021ebc5.tar.gz rust-93ddee6cee6816843035575ddf0bf0309021ebc5.zip | |
Change some instances of .connect() to .join()
Diffstat (limited to 'src/libsyntax/ext/tt')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/tt/macro_parser.rs b/src/libsyntax/ext/tt/macro_parser.rs index 5521c68e75c..5b3887e76b4 100644 --- a/src/libsyntax/ext/tt/macro_parser.rs +++ b/src/libsyntax/ext/tt/macro_parser.rs @@ -465,7 +465,7 @@ pub fn parse(sess: &ParseSess, token::get_ident(bind))).to_string() } _ => panic!() - } }).collect::<Vec<String>>().connect(" or "); + } }).collect::<Vec<String>>().join(" or "); return Error(sp, format!( "local ambiguity: multiple parsing options: \ built-in NTs {} or {} other options.", |
