Skip to content

Commit a440337

Browse files
Remove unused arm_to_string
1 parent 0f10d11 commit a440337

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libsyntax/print/pprust.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,6 @@ pub fn pat_to_string(pat: &ast::Pat) -> String {
322322
to_string(|s| s.print_pat(pat))
323323
}
324324

325-
pub fn arm_to_string(arm: &ast::Arm) -> String {
326-
to_string(|s| s.print_arm(arm))
327-
}
328-
329325
pub fn expr_to_string(e: &ast::Expr) -> String {
330326
to_string(|s| s.print_expr(e))
331327
}

0 commit comments

Comments
 (0)