Change some instances of .connect() to .join()

This commit is contained in:
Wesley Wiser 2015-07-10 08:19:21 -04:00
parent 29c0c956bf
commit 93ddee6cee
39 changed files with 87 additions and 87 deletions

View file

@ -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.",