rustdoc: render for<>
on old closure lifetimes
This commit is contained in:
parent
e64a8193b0
commit
b39e99cfc7
1 changed files with 2 additions and 2 deletions
|
@ -407,7 +407,7 @@ impl fmt::Show for clean::Type {
|
||||||
lifetimes = if decl.lifetimes.len() == 0 {
|
lifetimes = if decl.lifetimes.len() == 0 {
|
||||||
"".to_string()
|
"".to_string()
|
||||||
} else {
|
} else {
|
||||||
format!("<{:#}>", decl.lifetimes)
|
format!("for <{:#}>", decl.lifetimes)
|
||||||
},
|
},
|
||||||
args = decl.decl.inputs,
|
args = decl.decl.inputs,
|
||||||
arrow = decl.decl.output,
|
arrow = decl.decl.output,
|
||||||
|
@ -436,7 +436,7 @@ impl fmt::Show for clean::Type {
|
||||||
lifetimes = if decl.lifetimes.len() == 0 {
|
lifetimes = if decl.lifetimes.len() == 0 {
|
||||||
"".to_string()
|
"".to_string()
|
||||||
} else {
|
} else {
|
||||||
format!("<{:#}>", decl.lifetimes)
|
format!("for <{:#}>", decl.lifetimes)
|
||||||
},
|
},
|
||||||
args = decl.decl.inputs,
|
args = decl.decl.inputs,
|
||||||
bounds = if decl.bounds.len() == 0 {
|
bounds = if decl.bounds.len() == 0 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue