rustdoc: render for<>
on old closure lifetimes
This commit is contained in:
parent
e64a8193b0
commit
b39e99cfc7
@ -407,7 +407,7 @@ impl fmt::Show for clean::Type {
|
||||
lifetimes = if decl.lifetimes.len() == 0 {
|
||||
"".to_string()
|
||||
} else {
|
||||
format!("<{:#}>", decl.lifetimes)
|
||||
format!("for <{:#}>", decl.lifetimes)
|
||||
},
|
||||
args = decl.decl.inputs,
|
||||
arrow = decl.decl.output,
|
||||
@ -436,7 +436,7 @@ impl fmt::Show for clean::Type {
|
||||
lifetimes = if decl.lifetimes.len() == 0 {
|
||||
"".to_string()
|
||||
} else {
|
||||
format!("<{:#}>", decl.lifetimes)
|
||||
format!("for <{:#}>", decl.lifetimes)
|
||||
},
|
||||
args = decl.decl.inputs,
|
||||
bounds = if decl.bounds.len() == 0 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user