Skip to content

Commit 663caa9

Browse files
committed
Remove inherent methods Annotatable::attrs and Annotatable::fold_attrs.
1 parent 4fe94e0 commit 663caa9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/libsyntax/ext/base.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,6 @@ impl HasAttrs for Annotatable {
6060
}
6161

6262
impl Annotatable {
63-
pub fn attrs(&self) -> &[ast::Attribute] {
64-
HasAttrs::attrs(self)
65-
}
66-
pub fn fold_attrs(self, attrs: Vec<ast::Attribute>) -> Annotatable {
67-
self.map_attrs(|_| attrs)
68-
}
69-
7063
pub fn expect_item(self) -> P<ast::Item> {
7164
match self {
7265
Annotatable::Item(i) => i,

0 commit comments

Comments
 (0)