mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Simplify
This commit is contained in:
parent
d6b908ec41
commit
e844784d8d
11 changed files with 110 additions and 110 deletions
|
@ -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(" = ")?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue