Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 86a4a27

Browse files
committedDec 12, 2024
fix self shadowed self compare
1 parent f33a8c6 commit 86a4a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/librustdoc/html/render/search_index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ pub(crate) fn build_index(
201201
// exported from this same module). It's also likely to Do
202202
// What I Mean, since if a re-export changes the name, it might
203203
// also be a change in semantic meaning.
204-
.filter(|fqp| fqp.last() == fqp.last());
204+
.filter(|this_fqp| this_fqp.last() == fqp.last());
205205
Some(insert_into_map(
206206
itemid_to_pathid,
207207
ItemId::DefId(defid),

0 commit comments

Comments
 (0)
Please sign in to comment.