diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-11-12 17:38:41 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-11-13 10:37:58 -0800 |
| commit | db9f8db741c6c85e964206bdc48c3eb0b59acc05 (patch) | |
| tree | b52aa4a3150280460378041fa06396f82f61e612 /src/libsyntax | |
| parent | c6d0117bf658701608eeff646345adb5cce3f8b1 (diff) | |
| download | rust-db9f8db741c6c85e964206bdc48c3eb0b59acc05.tar.gz rust-db9f8db741c6c85e964206bdc48c3eb0b59acc05.zip | |
librustc: Implement deriving with a unit return type. r=tjc
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast_map.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/ast_map.rs b/src/libsyntax/ast_map.rs index 38ccb64899c..c2e255cad14 100644 --- a/src/libsyntax/ast_map.rs +++ b/src/libsyntax/ast_map.rs @@ -207,8 +207,7 @@ fn map_item(i: @item, cx: ctx, v: vt) { let impl_did = ast_util::local_def(i.id); for ms_opt.each |ms| { for ms.each |m| { - map_method(impl_did, extend(cx, i.ident), *m, - cx); + map_method(impl_did, extend(cx, i.ident), *m, cx); } } } |
