diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-12-18 12:16:15 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-12-18 12:22:59 -0800 |
| commit | b46e25bdc8f4c0ac702a3197ef61da2786bb917c (patch) | |
| tree | 1b8a930525b91f26bfd1ca32e1af0485dc89eb34 /src/libsyntax | |
| parent | 807ce6216974dd860ae6390cd2f06c6d7dcfd4bc (diff) | |
| parent | 85bb1fc2c4e2060bc9b9800743c840c261e47fb3 (diff) | |
| download | rust-b46e25bdc8f4c0ac702a3197ef61da2786bb917c.tar.gz rust-b46e25bdc8f4c0ac702a3197ef61da2786bb917c.zip | |
Merge commit 'erickt/incoming^' into kind-names
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/pipes/proto.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/pipes/proto.rs b/src/libsyntax/ext/pipes/proto.rs index 76757d027a5..b00a2aab69f 100644 --- a/src/libsyntax/ext/pipes/proto.rs +++ b/src/libsyntax/ext/pipes/proto.rs @@ -218,8 +218,8 @@ fn visit<Tproto, Tstate, Tmessage, V: visitor<Tproto, Tstate, Tmessage>>( proto: protocol, visitor: V) -> Tproto { // the copy keywords prevent recursive use of dvec - let states = do (copy proto.states).map_to_vec |s| { - let messages = do (copy s.messages).map_to_vec |m| { + let states = do (copy proto.states).map_to_vec |&s| { + let messages = do (copy s.messages).map_to_vec |&m| { let message(name, span, tys, this, next) = m; visitor.visit_message(name, span, tys, this, next) }; |
