Replace all uses of &foo[]
with &foo[..]
en masse.
This commit is contained in:
parent
64cd30e0ca
commit
9ea84aeed4
145 changed files with 865 additions and 864 deletions
|
@ -54,7 +54,7 @@ impl<'a> fold::Folder for StandardLibraryInjector<'a> {
|
|||
|
||||
// The name to use in `extern crate "name" as std;`
|
||||
let actual_crate_name = match self.alt_std_name {
|
||||
Some(ref s) => token::intern_and_get_ident(&s[]),
|
||||
Some(ref s) => token::intern_and_get_ident(&s[..]),
|
||||
None => token::intern_and_get_ident("std"),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue