Replace all uses of &foo[] with &foo[..] en masse.
This commit is contained in:
@@ -215,11 +215,11 @@ impl<'a> Parser<'a> {
|
||||
}
|
||||
Some((_, other)) => {
|
||||
self.err(&format!("expected `{:?}`, found `{:?}`", c,
|
||||
other)[]);
|
||||
other));
|
||||
}
|
||||
None => {
|
||||
self.err(&format!("expected `{:?}` but string was terminated",
|
||||
c)[]);
|
||||
c));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user