Skip to content

Commit c6ab685

Browse files
author
QuietMisdreavus
committed
fix spurious </span> appearing before the opening tag
1 parent 4a6921e commit c6ab685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/format.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ impl<'a> fmt::Display for WhereClause<'a> {
205205
}
206206
}
207207
if !f.alternate() {
208-
f.write_str("</span>")?;
208+
clause.push_str("</span>");
209209
let plain = format!("{:#}", self);
210210
if plain.len() > 80 {
211211
let padding = repeat("&nbsp;").take(8).collect::<String>();

0 commit comments

Comments
 (0)