about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-07-05 15:43:13 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-07-10 07:11:29 -0400
commita440337e2bfc41e59a001a1460231ef920978ad5 (patch)
tree3556bd7f8ee667a04a9a40445bd344856373c175
parent0f10d114e447d5cdaf1de499e2d88b815aef7239 (diff)
downloadrust-a440337e2bfc41e59a001a1460231ef920978ad5.tar.gz
rust-a440337e2bfc41e59a001a1460231ef920978ad5.zip
Remove unused arm_to_string
-rw-r--r--src/libsyntax/print/pprust.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs
index 4a3abe505ca..512023ff030 100644
--- a/src/libsyntax/print/pprust.rs
+++ b/src/libsyntax/print/pprust.rs
@@ -322,10 +322,6 @@ pub fn pat_to_string(pat: &ast::Pat) -> String {
     to_string(|s| s.print_pat(pat))
 }
 
-pub fn arm_to_string(arm: &ast::Arm) -> String {
-    to_string(|s| s.print_arm(arm))
-}
-
 pub fn expr_to_string(e: &ast::Expr) -> String {
     to_string(|s| s.print_expr(e))
 }