remove is_noop
This commit is contained in:
parent
2f004d2d40
commit
4bd571c4ff
4 changed files with 4 additions and 8 deletions
|
@ -484,7 +484,7 @@ crate fn to_pretty_impl_header(tcx: TyCtxt<'_>, impl_def_id: DefId) -> Option<St
|
|||
let mut types_without_default_bounds = FxHashSet::default();
|
||||
let sized_trait = tcx.lang_items().sized_trait();
|
||||
|
||||
if !substs.is_noop() {
|
||||
if !substs.is_empty() {
|
||||
types_without_default_bounds.extend(substs.types());
|
||||
w.push('<');
|
||||
w.push_str(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue