syntax: Replace [].tail with the stable [1..] syntax
This commit is contained in:
parent
2937cce70c
commit
a2cfe38505
1 changed files with 1 additions and 1 deletions
|
|
@ -1103,7 +1103,7 @@ impl<'a> MethodDef<'a> {
|
|||
subpats.push(p);
|
||||
idents
|
||||
};
|
||||
for self_arg_name in self_arg_names.tail() {
|
||||
for self_arg_name in &self_arg_names[1..] {
|
||||
let (p, idents) = mk_self_pat(cx, &self_arg_name[..]);
|
||||
subpats.push(p);
|
||||
self_pats_idents.push(idents);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue