This commit is contained in:
Lukas Wirth 2023-11-14 10:08:19 +01:00
parent d6b908ec41
commit e844784d8d
11 changed files with 110 additions and 110 deletions

View file

@ -616,7 +616,7 @@ impl HirDisplay for TypeAlias {
write_where_clause(def_id, f)?;
if !data.bounds.is_empty() {
f.write_str(": ")?;
f.write_joined(&data.bounds, " + ")?;
f.write_joined(data.bounds.iter(), " + ")?;
}
if let Some(ty) = &data.type_ref {
f.write_str(" = ")?;