diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-13 19:17:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-13 19:17:15 +0200 |
| commit | ecfcb4cf93f7d4fc95de4accab967ec804ebdf07 (patch) | |
| tree | 572ac30f59416b135a6fd383159815b57bc9bf00 /src/test/ui/iterators/iter-sum-overflow-debug.rs | |
| parent | 77f685390c5b85e84aeb010b37b3bb9c5839eb4d (diff) | |
| parent | 0510bbfb35c4628f4574b6b798d395bfa9f9a218 (diff) | |
| download | rust-ecfcb4cf93f7d4fc95de4accab967ec804ebdf07.tar.gz rust-ecfcb4cf93f7d4fc95de4accab967ec804ebdf07.zip | |
Rollup merge of #65370 - Cerberuser:patch-1, r=jonas-schievink
Add `dyn` to `Any` documentation I noticed that in documentation to `Any` trait the old trait object syntax is used, which could be confusing for newcomers, since we generally recommend using `dyn Trait` instead of just `Trait`. This PR changes the documentation comment, so that it uses `&dyn Any`, `&mut dyn Any` and `Box<dyn Any>`, correspondingly.
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions
