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 {
820
820
821
821
fn inner_docs ( & self ) -> bool ;
822
822
823
- fn other_attrs ( & self ) -> Vec < ast:: Attribute > ;
824
-
825
823
fn cfg ( & self , tcx : TyCtxt < ' _ > , hidden_cfg : & FxHashSet < Cfg > ) -> Option < Arc < Cfg > > ;
826
824
}
827
825
@@ -848,10 +846,6 @@ impl AttributesExt for [ast::Attribute] {
848
846
self . iter ( ) . find ( |a| a. doc_str ( ) . is_some ( ) ) . map_or ( true , |a| a. style == AttrStyle :: Inner )
849
847
}
850
848
851
- fn other_attrs ( & self ) -> Vec < ast:: Attribute > {
852
- self . iter ( ) . filter ( |attr| attr. doc_str ( ) . is_none ( ) ) . cloned ( ) . collect ( )
853
- }
854
-
855
849
fn cfg ( & self , tcx : TyCtxt < ' _ > , hidden_cfg : & FxHashSet < Cfg > ) -> Option < Arc < Cfg > > {
856
850
let sess = tcx. sess ;
857
851
let doc_cfg_active = tcx. features ( ) . doc_cfg ;
You can’t perform that action at this time.
0 commit comments