Add whitespace around "=" in assoc items

This commit is contained in:
Guillaume Gomez
2017-03-20 22:41:19 +01:00
committed by Ben Striegel
parent 58c701f5c7
commit f53172287a
4 changed files with 33 additions and 5 deletions

View File

@@ -2808,7 +2808,7 @@ fn render_assoc_items(w: &mut fmt::Formatter,
}
AssocItemRender::DerefFor { trait_, type_, deref_mut_ } => {
write!(w, "<h2 id='deref-methods'>Methods from \
{}&lt;Target={}&gt;</h2>", trait_, type_)?;
{}&lt;Target = {}&gt;</h2>", trait_, type_)?;
RenderMode::ForDeref { mut_: deref_mut_ }
}
};