Guillaume Gomez 1c57f0ab9c
Rollup merge of #55485 - petertodd:2018-10-manuallydrop-deref, r=TimNN
Return &T / &mut T in ManuallyDrop Deref(Mut) impl

Without this change the generated documentation looks like this:

    fn deref(&self) -> &<ManuallyDrop<T> as Deref>::Target

Returning the actual type directly makes the generated docs more clear:

    fn deref(&self) -> &T

Basically, compare how the impl for `Box<T>` and `ManuallyDrop<T>` looks in this screenshot:

![rust docs for ManuallyDrop as Deref](https://user-images.githubusercontent.com/7042/47673083-fc9dc280-db89-11e8-89b0-c6bde663feef.png)
2018-11-22 10:37:45 +01:00
..
2018-11-21 06:50:17 -05:00
2018-11-10 02:33:21 +01:00
2018-11-10 19:31:49 +07:00
2018-11-20 21:25:48 -05:00
2018-11-10 01:07:32 +01:00
2018-11-13 14:45:31 -05:00
2018-11-10 01:10:07 +01:00
2018-11-10 01:07:32 +01:00
2018-11-09 23:14:46 -05:00
2018-11-09 23:14:46 -05:00
2018-11-21 06:50:17 -05:00
2018-11-21 06:50:17 -05:00
2018-11-10 01:10:07 +01:00