about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-13 20:23:29 +0200
committerGitHub <noreply@github.com>2020-04-13 20:23:29 +0200
commitf551d8a4104b68a6dcd204ee8f5ef53567be20b2 (patch)
tree4fdba8b8bcd31861c4dce842f1b01ba287d160d0 /src/test/rustdoc-ui/coverage/json.rs
parent3f61c730d4477768d7fee638e7468adb05751474 (diff)
parent5ffc1abc92418149a97ba66a62c56591d353fd65 (diff)
downloadrust-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