Skip to content

Commit

Permalink
Make portability log at debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo157 committed Oct 13, 2020
1 parent 4e263fe commit 4409cb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustdoc/html/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2170,7 +2170,7 @@ fn stability_tags(item: &clean::Item, parent: &clean::Item) -> String {
(cfg, _) => cfg.as_deref().cloned(),
};

info!("Portability {:?} - {:?} = {:?}", item.attrs.cfg, parent.attrs.cfg, cfg);
debug!("Portability {:?} - {:?} = {:?}", item.attrs.cfg, parent.attrs.cfg, cfg);
if let Some(ref cfg) = cfg {
tags += &tag_html("portability", &cfg.render_long_plain(), &cfg.render_short_html());
}
Expand Down Expand Up @@ -2259,7 +2259,7 @@ fn short_stability(item: &clean::Item, cx: &Context, parent: Option<&clean::Item
(cfg, _) => cfg.as_deref().cloned(),
};

info!(
debug!(
"Portability {:?} - {:?} = {:?}",
item.attrs.cfg,
parent.and_then(|p| p.attrs.cfg.as_ref()),
Expand Down

0 comments on commit 4409cb2

Please sign in to comment.