Skip to content

Commit 1ccdfe3

Browse files
committed
---
yaml --- r: 6758 b: refs/heads/master c: b112687 h: refs/heads/master v: v3
1 parent 079c433 commit 1ccdfe3

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 58a81a68edb605dabe5f1aa04a087e412ad73936
2+
refs/heads/master: b11268780ed7961c710d6a66665b82a2e5019a08

trunk/src/comp/middle/resolve.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,10 +1701,11 @@ fn find_impls_in_item(i: @ast::item, &impls: [@_impl],
17011701
alt ck_exports { some(m) { is_exported(i.ident, m) } _ { true } } {
17021702
impls += [@{did: local_def(i.id),
17031703
ident: i.ident,
1704-
methods: vec::map({|m| @{did: local_def(m.node.id),
1705-
n_tps: vec::len(m.node.tps),
1706-
ident: m.node.ident}},
1707-
mthds)}];
1704+
methods: vec::map(mthds, {|m|
1705+
@{did: local_def(m.node.id),
1706+
n_tps: vec::len(m.node.tps),
1707+
ident: m.node.ident}
1708+
})}];
17081709
}
17091710
}
17101711
_ {}

0 commit comments

Comments
 (0)