Remove unnecessary item_name parameter to mod_item_in
This commit is contained in:
parent
7f6d540440
commit
edb60a9243
3 changed files with 9 additions and 11 deletions
|
@ -181,7 +181,7 @@ impl<'tcx> FormatRenderer<'tcx> for JsonRenderer<'tcx> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
fn mod_item_in(&mut self, item: &clean::Item, _module_name: &str) -> Result<(), Error> {
|
||||
fn mod_item_in(&mut self, item: &clean::Item) -> Result<(), Error> {
|
||||
use clean::types::ItemKind::*;
|
||||
if let ModuleItem(m) = &*item.kind {
|
||||
for item in &m.items {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue