diff options
| author | Tom Jakubowski <tom@crystae.net> | 2014-12-16 06:32:52 -0800 |
|---|---|---|
| committer | Tom Jakubowski <tom@crystae.net> | 2014-12-24 10:32:49 -0600 |
| commit | b39e99cfc72a21ae6e697e9db2cef252dfb1aecb (patch) | |
| tree | 47c773102ed78b26429e92380ff4ce23d65474bf /src | |
| parent | e64a8193b02ce72ef183274994a25eae281cb89c (diff) | |
| download | rust-b39e99cfc72a21ae6e697e9db2cef252dfb1aecb.tar.gz rust-b39e99cfc72a21ae6e697e9db2cef252dfb1aecb.zip | |
rustdoc: render `for<>` on old closure lifetimes
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/format.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs index a2d5530692c..4ec974b0cf7 100644 --- a/src/librustdoc/html/format.rs +++ b/src/librustdoc/html/format.rs @@ -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 { |
