Change some instances of .connect() to .join()
This commit is contained in:
parent
29c0c956bf
commit
93ddee6cee
39 changed files with 87 additions and 87 deletions
|
@ -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.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue