Rename def_id
into item_id
when the type is ItemId
for readability
This commit is contained in:
parent
f9d4d12b6a
commit
b1e6211c5c
23 changed files with 121 additions and 120 deletions
|
@ -535,7 +535,7 @@ pub(super) fn write_shared(
|
|||
//
|
||||
// If the implementation is from another crate then that crate
|
||||
// should add it.
|
||||
if imp.impl_item.def_id.krate() == did.krate || !imp.impl_item.def_id.is_local() {
|
||||
if imp.impl_item.item_id.krate() == did.krate || !imp.impl_item.item_id.is_local() {
|
||||
None
|
||||
} else {
|
||||
Some(Implementor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue