Skip to content

Commit 5dd1594

Browse files
committed
---
yaml --- r: 2897 b: refs/heads/master c: af4554a h: refs/heads/master i: 2895: ef2adb1 v: v3
1 parent 9eeee56 commit 5dd1594

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-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: ac4ef1741e525632a9c91c3335634b614f4f6945
2+
refs/heads/master: af4554aadf0bb1a883d574c7968eeb4b992bdc1e

trunk/src/comp/pretty/pprust.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,12 @@ fn print_file(session sess, ast::_mod _mod, str filename, io::writer out,
7272
}
7373

7474
fn ty_to_str(&ast::ty ty) -> str { be to_str(ty, print_type); }
75-
fn pat_to_str(&@ast::pat ty) -> str { be to_str(ty, print_pat); }
76-
fn expr_to_str(&@ast::expr ty) -> str { be to_str(ty, print_expr); }
77-
fn stmt_to_str(&ast::stmt ty) -> str { be to_str(ty, print_stmt); }
78-
fn item_to_str(&@ast::item ty) -> str { be to_str(ty, print_item); }
75+
fn pat_to_str(&@ast::pat pat) -> str { be to_str(pat, print_pat); }
76+
fn expr_to_str(&@ast::expr e) -> str { be to_str(e, print_expr); }
77+
fn stmt_to_str(&ast::stmt s) -> str { be to_str(s, print_stmt); }
78+
fn item_to_str(&@ast::item i) -> str { be to_str(i, print_item); }
79+
fn path_to_str(&ast::path p) -> str { be to_str(p, print_path); }
80+
fn lit_to_str(&@ast::lit l) -> str { be to_str(l, print_literal); }
7981

8082
fn fun_to_str(&ast::_fn f, str name, vec[ast::ty_param] params) -> str {
8183
auto writer = io::string_writer();

0 commit comments

Comments
 (0)