From 68ea9aed96b6b8147b6c37b844c85cb7ae2867f4 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 10 Sep 2013 18:57:24 -0700 Subject: librustc: Remove `@fn` managed closures from the language. --- src/libsyntax/print/pprust.rs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 6cdd6d2517b..867e4fe416b 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -2265,17 +2265,6 @@ pub fn print_fn_header_info(s: @ps, print_opt_sigil(s, opt_sigil); } -pub fn opt_sigil_to_str(opt_p: Option) -> &'static str { - match opt_p { - None => "fn", - Some(p) => match p { - ast::BorrowedSigil => "fn&", - ast::OwnedSigil => "fn~", - ast::ManagedSigil => "fn@" - } - } -} - pub fn purity_to_str(p: ast::purity) -> &'static str { match p { ast::impure_fn => "impure", -- cgit 1.4.1-3-g733a5