diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2013-11-25 23:37:03 +0900 |
|---|---|---|
| committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2013-11-25 23:37:03 +0900 |
| commit | eb5cbfebfd2a1524a2c366dc220a8de0d4f08b13 (patch) | |
| tree | 43276ff26437e1777ca2d1d820cefabef15db03e /src/libsyntax | |
| parent | cd7a9b723484115d447f68729f5074ea7cae409c (diff) | |
| download | rust-eb5cbfebfd2a1524a2c366dc220a8de0d4f08b13.tar.gz rust-eb5cbfebfd2a1524a2c366dc220a8de0d4f08b13.zip | |
Take &Pat
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast_util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast_util.rs b/src/libsyntax/ast_util.rs index a49109911de..7191c5723f1 100644 --- a/src/libsyntax/ast_util.rs +++ b/src/libsyntax/ast_util.rs @@ -636,7 +636,7 @@ pub fn is_item_impl(item: @ast::item) -> bool { } } -pub fn walk_pat(pat: @Pat, it: |@Pat| -> bool) -> bool { +pub fn walk_pat(pat: &Pat, it: |&Pat| -> bool) -> bool { if !it(pat) { return false; } |
