@@ -242,7 +242,6 @@ impl Clean<Vec<Item>> for hir::Item<'_> {
242
242
let def_id = cx. tcx . hir ( ) . local_def_id ( self . hir_id ) . to_def_id ( ) ;
243
243
let name = cx. tcx . item_name ( def_id) . clean ( cx) ;
244
244
let maybe_inlined = match self . kind {
245
- // TODO: should store Symbol, not String
246
245
ItemKind :: ExternCrate ( renamed) => clean_extern_crate ( self , renamed, cx) ,
247
246
ItemKind :: Use ( path, kind) => clean_import ( self , path, kind, cx) ,
248
247
ItemKind :: Static ( ty, mutability, body_id) => NotInlined ( StaticItem ( Static {
@@ -305,7 +304,7 @@ impl Clean<Vec<Item>> for hir::Item<'_> {
305
304
generics : generics. clean ( cx) ,
306
305
bounds : bounds. clean ( cx) ,
307
306
is_spotlight,
308
- // TODO : this is redundant with `auto`
307
+ // FIXME : this is redundant with `auto`
309
308
is_auto : is_auto. clean ( cx) ,
310
309
} ) )
311
310
}
@@ -321,8 +320,8 @@ impl Clean<Vec<Item>> for hir::Item<'_> {
321
320
kind,
322
321
name : Some ( name) ,
323
322
source : cx. tcx . def_span ( def_id) . clean ( cx) ,
324
- attrs : self . attrs . clean ( cx) , // should this use tcx.attrs instead?
325
- visibility : self . vis . clean ( cx) , // TODO: use tcx.visibility once #78077 lands
323
+ attrs : self . attrs . clean ( cx) , // TODO: should this use tcx.attrs instead?
324
+ visibility : self . vis . clean ( cx) , // TODO: should this use tcx.visibility instead?
326
325
stability : cx. tcx . lookup_stability ( def_id) . copied ( ) ,
327
326
deprecation : cx. tcx . lookup_deprecation ( def_id) . clean ( cx) ,
328
327
} ;
@@ -2268,7 +2267,7 @@ impl Clean<Item> for hir::MacroDef<'_> {
2268
2267
let matchers = tts. chunks ( 4 ) . map ( |arm| arm[ 0 ] . span ( ) ) ;
2269
2268
2270
2269
Item {
2271
- name : Some ( self . ident . name . to_string ( ) ) , // TODO: this should store a Symbol
2270
+ name : Some ( self . ident . name . to_string ( ) ) ,
2272
2271
attrs : self . attrs . clean ( cx) ,
2273
2272
source : self . span . clean ( cx) ,
2274
2273
visibility : Public ,
0 commit comments