We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pprust::*_to_str
1 parent b25fe99 commit 78baf0eCopy full SHA for 78baf0e
src/libsyntax/print/pprust.rs
@@ -183,6 +183,18 @@ pub fn generics_to_str(generics: &ast::Generics) -> ~str {
183
to_str(|s| s.print_generics(generics))
184
}
185
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
198
pub fn path_to_str(p: &ast::Path) -> ~str {
199
to_str(|s| s.print_path(p, false))
200
0 commit comments