about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-05-13 20:55:08 -0600
committerGitHub <noreply@github.com>2017-05-13 20:55:08 -0600
commitc75ccd7b4ee38ed23904d34e94ad659ce7a3c785 (patch)
treecf528bc34b1da84bc97c5cfb6007ee9d72169ca7 /src/test/run-pass/thinlto
parent93dd1cab5d1ea0ceb178db424d4c907a20584b16 (diff)
parenta2a9d1965b1aba9363f1876de3ed67c0662a294d (diff)
downloadrust-c75ccd7b4ee38ed23904d34e94ad659ce7a3c785.tar.gz
rust-c75ccd7b4ee38ed23904d34e94ad659ce7a3c785.zip
Rollup merge of #41612 - mandeep:add-ops-generics, r=GuillaumeGomez,frewsxcv
Added generic example of std::ops::Add in doc comments

We discussed on IRC how the std::ops examples were potentially missing examples using generics. This PR adds an example to std::ops::Add that shows the use of a generic type T. I'm not sure this is ready for merge as I think the two examples now make the documentation a bit verbose, but I think it's a good starting point. I'd love to hear others thoughts on this. This is in relation to the last item in issue #29365.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions