diff options
| author | Peter Todd <pete@petertodd.org> | 2018-10-29 14:44:15 -0400 |
|---|---|---|
| committer | Peter Todd <pete@petertodd.org> | 2018-10-29 14:44:15 -0400 |
| commit | bc1885703cb46a462a4be1eea7c4e0f9abbe7a95 (patch) | |
| tree | 55319392ca10dc93b76e137a7833cb3dfb106604 /src/test/incremental/thinlto | |
| parent | d586d5d2f51489821b471f20959333558c24b129 (diff) | |
| download | rust-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
