fix simple clippy lints
This commit is contained in:
parent
b2eba058e6
commit
678059f7d0
21 changed files with 81 additions and 90 deletions
|
@ -456,7 +456,7 @@ impl<'a, 'tcx> DocFolder for CacheBuilder<'a, 'tcx> {
|
|||
let ty::Adt(adt, _) = self.tcx.type_of(path.def_id()).kind() &&
|
||||
adt.is_fundamental() {
|
||||
for ty in generics {
|
||||
if let Some(did) = ty.def_id(&self.cache) {
|
||||
if let Some(did) = ty.def_id(self.cache) {
|
||||
dids.insert(did);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue