Rename ItemEnum -> ItemKind, inner -> kind
This commit is contained in:
parent
a1f7ca788d
commit
03cbee84af
19 changed files with 129 additions and 131 deletions
|
@ -86,7 +86,7 @@ pub fn run_format<T: FormatRenderer>(
|
|||
}
|
||||
|
||||
cx.mod_item_in(&item, &name, &cache)?;
|
||||
let module = match item.inner {
|
||||
let module = match item.kind {
|
||||
clean::StrippedItem(box clean::ModuleItem(m)) | clean::ModuleItem(m) => m,
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue