diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-07-05 12:16:41 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-07-10 07:11:29 -0400 |
| commit | 0f10d114e447d5cdaf1de499e2d88b815aef7239 (patch) | |
| tree | 68d627fd9561f33d26129a62f8ad3efd1dd1d21e /src/libsyntax/print | |
| parent | 9b0ebfa4e9e4906497eed5c6848bcca3cca23464 (diff) | |
| download | rust-0f10d114e447d5cdaf1de499e2d88b815aef7239.tar.gz rust-0f10d114e447d5cdaf1de499e2d88b815aef7239.zip | |
Remove duplicate attr_to_string
attribute_to_string exists.
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index a69dd94cfb6..4a3abe505ca 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -350,10 +350,6 @@ pub fn stmt_to_string(stmt: &ast::Stmt) -> String { to_string(|s| s.print_stmt(stmt)) } -pub fn attr_to_string(attr: &ast::Attribute) -> String { - to_string(|s| s.print_attribute(attr)) -} - pub fn item_to_string(i: &ast::Item) -> String { to_string(|s| s.print_item(i)) } |
