]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #96118 - GuillaumeGomez:cleanup-def-id-item-id, r=notriddle
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Sat, 16 Apr 2022 17:42:07 +0000 (19:42 +0200)
committerGitHub <noreply@github.com>
Sat, 16 Apr 2022 17:42:07 +0000 (19:42 +0200)
rustdoc: Rename `def_id` into `item_id` when the type is `ItemId` for readability

As `@notriddle` mentioned in https://github.com/rust-lang/rust/pull/96091, the field name is inaccurate. This PR fixes it by renaming it accordingly to its real type.

r? `@notriddle`

1  2 
src/librustdoc/passes/html_tags.rs

Simple merge