Fix indentation for where clause in rustdoc pages
This commit is contained in:
parent
805edb0a4a
commit
9202caaec5
2 changed files with 14 additions and 7 deletions
|
@ -859,8 +859,8 @@ fn assoc_method(
|
|||
w.reserve(header_len + "<a href=\"\" class=\"fn\">{".len() + "</a>".len());
|
||||
write!(
|
||||
w,
|
||||
"{indent}{vis}{constness}{asyncness}{unsafety}{defaultness}{abi}fn <a{href} class=\"fn\">{name}</a>\
|
||||
{generics}{decl}{notable_traits}{where_clause}",
|
||||
"{indent}{vis}{constness}{asyncness}{unsafety}{defaultness}{abi}fn \
|
||||
<a{href} class=\"fn\">{name}</a>{generics}{decl}{notable_traits}{where_clause}",
|
||||
indent = indent_str,
|
||||
vis = vis,
|
||||
constness = constness,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue