diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-13 20:23:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-13 20:23:29 +0200 |
| commit | f551d8a4104b68a6dcd204ee8f5ef53567be20b2 (patch) | |
| tree | 4fdba8b8bcd31861c4dce842f1b01ba287d160d0 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 3f61c730d4477768d7fee638e7468adb05751474 (diff) | |
| parent | 5ffc1abc92418149a97ba66a62c56591d353fd65 (diff) | |
| download | rust-f551d8a4104b68a6dcd204ee8f5ef53567be20b2.tar.gz rust-f551d8a4104b68a6dcd204ee8f5ef53567be20b2.zip | |
Rollup merge of #71051 - ryr3:fix_try_into, r=estebank
Suggest .into() over try_into() when it would work It would be better to suggest x.into() instead, which is shorter, cannot fail, and doesn't require importing a trait. Tests have been added and made up to date. Fixes #70851
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
