]> git.lizzy.rs Git - rust.git/commit
rustdoc: Show where clauses in type aliases
authorUlrik Sverdrup <root@localhost>
Mon, 25 May 2015 21:05:35 +0000 (23:05 +0200)
committerUlrik Sverdrup <root@localhost>
Mon, 25 May 2015 21:10:36 +0000 (23:10 +0200)
commit06304ed52201ea0cae7a09f2546123c78a60a193
treea1da93eb2c1e56f183a6e2f44da71e903bd5014a
parentd1cd689b4867e915e42264175d54c45f22180206
rustdoc: Show where clauses in type aliases

Yes, it's allowed. Example:

    type MapFn<I, B> where I: Iterator = Map<I, fn(I::Item) -> B>;

Fixes #25769
src/librustdoc/html/render.rs
src/test/rustdoc/where.rs