Skip to content

Commit 1100cf9

Browse files
committed
---
yaml --- r: 111374 b: refs/heads/master c: 78baf0e h: refs/heads/master v: v3
1 parent 711b4cd commit 1100cf9

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b25fe99331a114b92131ecd4bd37abefb2508ff0
2+
refs/heads/master: 78baf0e9689c73d549cf194ecd97f704702ec9f8
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b5dd3f05fe95168b5569d0f519636149479eb6ac
55
refs/heads/try: 38201d7c6bf0c32b0e5bdc8ecd63976ebc1b3a4c

trunk/src/libsyntax/print/pprust.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,18 @@ pub fn generics_to_str(generics: &ast::Generics) -> ~str {
183183
to_str(|s| s.print_generics(generics))
184184
}
185185

186+
pub fn ty_method_to_str(p: &ast::TypeMethod) -> ~str {
187+
to_str(|s| s.print_ty_method(p))
188+
}
189+
190+
pub fn method_to_str(p: &ast::Method) -> ~str {
191+
to_str(|s| s.print_method(p))
192+
}
193+
194+
pub fn fn_block_to_str(p: &ast::FnDecl) -> ~str {
195+
to_str(|s| s.print_fn_block_args(p))
196+
}
197+
186198
pub fn path_to_str(p: &ast::Path) -> ~str {
187199
to_str(|s| s.print_path(p, false))
188200
}

0 commit comments

Comments
 (0)