]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #53541 - GuillaumeGomez:fix-impl-trait-ret-type, r=oli-obk
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 22 Aug 2018 15:45:36 +0000 (17:45 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Aug 2018 15:45:36 +0000 (17:45 +0200)
commit3d8e760bf81019b0ab94b2112b3ef27ce0eb7259
tree3d9363a376f93586a9665b417c64893ad335c308
parent4fa4bb56339868a125c2f5a80a1cea982d92d545
parente67bba8ebe14c815c4f756aa267249e5c35d5ec5
Rollup merge of #53541 - GuillaumeGomez:fix-impl-trait-ret-type, r=oli-obk

Fix missing impl trait display as ret type

I need to convert a `TraitPredicate` into a `TraitBound` to get the returned impl trait. So far, didn't find how or even if it was the good way to do it.

cc @eddyb @oli-obk (since you're the one behind the change apparently ðŸ˜‰)
src/librustdoc/clean/mod.rs