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:
commit
357d03d0a6
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ pub(crate) fn build_index(
|
||||||
// exported from this same module). It's also likely to Do
|
// exported from this same module). It's also likely to Do
|
||||||
// What I Mean, since if a re-export changes the name, it might
|
// What I Mean, since if a re-export changes the name, it might
|
||||||
// also be a change in semantic meaning.
|
// 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(
|
Some(insert_into_map(
|
||||||
itemid_to_pathid,
|
itemid_to_pathid,
|
||||||
ItemId::DefId(defid),
|
ItemId::DefId(defid),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue