1
Fork 0

Add missing space between notable trait tooltip and where clause

This commit is contained in:
Urgau 2022-09-21 19:01:49 +02:00
parent b79b7d8b4e
commit e214385a4d
3 changed files with 19 additions and 2 deletions

View file

@ -371,7 +371,7 @@ pub(crate) fn print_where_clause<'a, 'tcx: 'a>(
format!("<br><span class=\"where\">where{where_preds}</span>")
} else {
let mut clause = br_with_padding;
clause.truncate(clause.len() - 5 * "&nbsp;".len());
clause.truncate(clause.len() - 4 * "&nbsp;".len());
write!(clause, "<span class=\"where\">where{where_preds}</span>")?;
clause
}