diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 11:09:13 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 12:57:27 -0700 |
| commit | e7c60c141b6f499ba551b53bc562925269d2f187 (patch) | |
| tree | e43edc564d34f7d4f5c9b6e5b9dedfb946230d46 /src/libsyntax/print | |
| parent | ec59ce5796723ff62c071f7b36577175c6001791 (diff) | |
| download | rust-e7c60c141b6f499ba551b53bc562925269d2f187.tar.gz rust-e7c60c141b6f499ba551b53bc562925269d2f187.zip | |
librustc: Remove `pure` from libsyntax and librustc.
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 2bb053cc03a..74cce3047f9 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -2214,7 +2214,7 @@ pub fn opt_sigil_to_str(opt_p: Option<ast::Sigil>) -> ~str { } } -pub pure fn purity_to_str(p: ast::purity) -> ~str { +pub fn purity_to_str(p: ast::purity) -> ~str { match p { ast::impure_fn => ~"impure", ast::unsafe_fn => ~"unsafe", @@ -2223,7 +2223,7 @@ pub pure fn purity_to_str(p: ast::purity) -> ~str { } } -pub pure fn onceness_to_str(o: ast::Onceness) -> ~str { +pub fn onceness_to_str(o: ast::Onceness) -> ~str { match o { ast::Once => ~"once", ast::Many => ~"many" |
