diff options
author | bors <bors@rust-lang.org> | 2023-01-15 18:39:40 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-01-15 18:39:40 +0000 |
commit | 9e75dddf609c0201d03f9792e850f95d6a283d11 (patch) | |
tree | 30f268196652356e492213e82503c7af99414f6b /tests/rustdoc-js-std/parser-errors.js | |
parent | ae4d89dfb51535c1c43052ef848564bd2323c9ca (diff) | |
parent | 9db013401879a39df86c33552c8c092cf95ea20c (diff) | |
download | rust-9e75dddf609c0201d03f9792e850f95d6a283d11.tar.gz |
Auto merge of #106393 - the8472:use-ptr-sub, r=scottmcm
Simplify manual ptr arithmetic in slice::Iter with ptr_sub
The old code was introduced in #61885, which predates the ptr_sub method and underlying intrinsic. The codegen test still passes.
r? `@scottmcm`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions