diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-09-10 18:57:24 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-09-23 18:23:21 -0700 |
| commit | 68ea9aed96b6b8147b6c37b844c85cb7ae2867f4 (patch) | |
| tree | 5677c1b702523ca3093a0bc8dc897276e3a97d1b /src/libsyntax/print/pprust.rs | |
| parent | 9a4de3f3058ddb2cd43863c7c2723cec3d0fc30a (diff) | |
| download | rust-68ea9aed96b6b8147b6c37b844c85cb7ae2867f4.tar.gz rust-68ea9aed96b6b8147b6c37b844c85cb7ae2867f4.zip | |
librustc: Remove `@fn` managed closures from the language.
Diffstat (limited to 'src/libsyntax/print/pprust.rs')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 11 |
1 files changed, 0 insertions, 11 deletions
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<ast::Sigil>) -> &'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", |
