Skip to content

Commit

Permalink
fix self shadowed self compare
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy committed Dec 12, 2024
1 parent f33a8c6 commit 86a4a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/render/search_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ pub(crate) fn build_index(
// 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),
Expand Down

0 comments on commit 86a4a27

Please sign in to comment.