summary refs log tree commit diff
path: root/src/libsyntax/print
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-03-22 11:09:13 -0700
committerPatrick Walton <pcwalton@mimiga.net>2013-03-22 12:57:27 -0700
commite7c60c141b6f499ba551b53bc562925269d2f187 (patch)
treee43edc564d34f7d4f5c9b6e5b9dedfb946230d46 /src/libsyntax/print
parentec59ce5796723ff62c071f7b36577175c6001791 (diff)
downloadrust-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.rs4
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"