Rollup merge of #134214 - klensy:rd-shadow, r=notriddle

rustdoc: fix self cmp

Looks like condition in `filter` currently always `true`, but intended to compare with `fqp` from `if let Some(&(ref fqp, item_type))`?
This commit is contained in:
Matthias Krüger
2024-12-12 19:00:45 +01:00
committed by GitHub
+1 -1
View File
@@ -201,7 +201,7 @@ fn convert_render_type_id(
// exported from this same module). It's also likely to Do
// What I Mean, since if a re-export changes the name, it might
// also be a change in semantic meaning.
.filter(|fqp| fqp.last() == fqp.last());
.filter(|this_fqp| this_fqp.last() == fqp.last());
Some(insert_into_map(
itemid_to_pathid,
ItemId::DefId(defid),