1
Fork 0

Remove unnecessary item_name parameter to mod_item_in

This commit is contained in:
Joshua Nelson 2021-04-22 19:53:38 -04:00
parent 7f6d540440
commit edb60a9243
3 changed files with 9 additions and 11 deletions

View file

@ -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 {