diff options
| author | bors <bors@rust-lang.org> | 2016-11-06 02:28:58 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-06 02:28:58 -0800 |
| commit | 161f2623bd078017dfc9a06bd3417b36f6a58de9 (patch) | |
| tree | 59c03b437d099ef5ee025cea3117bd9e3a73348d /src/test/run-pass/thinlto | |
| parent | 3fc8304fd92720c688f3d6ac30b3a728d15f7a33 (diff) | |
| parent | 434c3144050859359d00ab6b9e21151093b99db8 (diff) | |
| download | rust-161f2623bd078017dfc9a06bd3417b36f6a58de9.tar.gz rust-161f2623bd078017dfc9a06bd3417b36f6a58de9.zip | |
Auto merge of #37386 - johnthagen:Self-reference-example, r=GuillaumeGomez
Add example using Self to reference When I first came across `Self` I had a hard time finding references to it in the docs (and it's also been asked about on [StackOverflow](http://stackoverflow.com/questions/32304595/whats-the-difference-between-self-and-self). I hope this example provides someone who comes across it for the first time a little more help. If there is a better way to show an example actually using `Self`, I'm happy to modify this. It was just the simplest place to start I could see.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
