File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -820,8 +820,6 @@ pub(crate) trait AttributesExt {
820820
821821 fn inner_docs ( & self ) -> bool ;
822822
823- fn other_attrs ( & self ) -> Vec < ast:: Attribute > ;
824-
825823 fn cfg ( & self , tcx : TyCtxt < ' _ > , hidden_cfg : & FxHashSet < Cfg > ) -> Option < Arc < Cfg > > ;
826824}
827825
@@ -848,10 +846,6 @@ impl AttributesExt for [ast::Attribute] {
848846 self . iter ( ) . find ( |a| a. doc_str ( ) . is_some ( ) ) . map_or ( true , |a| a. style == AttrStyle :: Inner )
849847 }
850848
851- fn other_attrs ( & self ) -> Vec < ast:: Attribute > {
852- self . iter ( ) . filter ( |attr| attr. doc_str ( ) . is_none ( ) ) . cloned ( ) . collect ( )
853- }
854-
855849 fn cfg ( & self , tcx : TyCtxt < ' _ > , hidden_cfg : & FxHashSet < Cfg > ) -> Option < Arc < Cfg > > {
856850 let sess = tcx. sess ;
857851 let doc_cfg_active = tcx. features ( ) . doc_cfg ;
You can’t perform that action at this time.
0 commit comments