diff options
| author | John Clements <clements@racket-lang.org> | 2013-07-10 16:40:09 -0700 |
|---|---|---|
| committer | John Clements <clements@racket-lang.org> | 2013-09-06 13:35:12 -0700 |
| commit | ec0a64def54e0b381ede187bfe199b7620b56c45 (patch) | |
| tree | a3134a36f7c1c82ffb2d83d97c6e182a4f61cc9d /src/libsyntax/parse | |
| parent | 0954e66442a169be40f1e65de68a85d7e3dacf3a (diff) | |
| download | rust-ec0a64def54e0b381ede187bfe199b7620b56c45.tar.gz rust-ec0a64def54e0b381ede187bfe199b7620b56c45.zip | |
memoization for resolve
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index 39e0f85920c..aa26feec28c 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -737,8 +737,8 @@ mod test { use ast; use ast_util; - fn mark_ident(id : ast::ident, m : ast::Mrk) -> ast::ident { - ast::ident{name:id.name,ctxt:ast_util::new_mark(m,id.ctxt)} + fn mark_ident(id : ast::Ident, m : ast::Mrk) -> ast::Ident { + ast::Ident{name:id.name,ctxt:ast_util::new_mark(m,id.ctxt)} } #[test] fn mtwt_token_eq_test() { |
