diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-03-19 15:16:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-19 15:16:59 +0100 |
| commit | 1ec1c5da36fc707bacf0c2edfcce7a94e670bcc9 (patch) | |
| tree | 0ad45b12e33bfb7b5e758b32e72e873755a1be97 /src/test/ui/thinlto | |
| parent | 05e8051d75348fb593b4cd446c8292c8ff7f2bfd (diff) | |
| parent | 698bbe52533e8ef07793b6a696cc89015a9dc7f6 (diff) | |
| download | rust-1ec1c5da36fc707bacf0c2edfcce7a94e670bcc9.tar.gz rust-1ec1c5da36fc707bacf0c2edfcce7a94e670bcc9.zip | |
Rollup merge of #59275 - regexident:docs-self, r=joshtriplett
Replaced self-reflective explicit types with clearer `Self` or `Self::…` in stdlib docs Many docs examples use explicit types instead of the semantically more clear `Self`/`Self::…` aliases. By using the latter it's clear that the value's type depends on either `Self`, or an associated type of `Self`, instead of some constant type. It's also more consistent (and I'd argue correct), as the current docs aren't really consistent in this, as can be seen from the diff. This is a best effort PR, as I was basically going through the docs manually, looking for offending examples. I'm sure I missed a few. Gotta start somewhere.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
