Skip to content

Commit 86a4a27

Browse files
committed
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

Diff for: src/librustdoc/html/render/search_index.rs

+1-1
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)