about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2018-10-29 14:44:15 -0400
committerPeter Todd <pete@petertodd.org>2018-10-29 14:44:15 -0400
commitbc1885703cb46a462a4be1eea7c4e0f9abbe7a95 (patch)
tree55319392ca10dc93b76e137a7833cb3dfb106604 /src/test/incremental/thinlto
parentd586d5d2f51489821b471f20959333558c24b129 (diff)
downloadrust-bc1885703cb46a462a4be1eea7c4e0f9abbe7a95.tar.gz
rust-bc1885703cb46a462a4be1eea7c4e0f9abbe7a95.zip
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
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions