about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-15 18:39:40 +0000
committerbors <bors@rust-lang.org>2023-01-15 18:39:40 +0000
commit9e75dddf609c0201d03f9792e850f95d6a283d11 (patch)
tree30f268196652356e492213e82503c7af99414f6b /compiler/rustc_parse/src/parser/expr.rs
parentae4d89dfb51535c1c43052ef848564bd2323c9ca (diff)
parent9db013401879a39df86c33552c8c092cf95ea20c (diff)
downloadrust-9e75dddf609c0201d03f9792e850f95d6a283d11.tar.gz
rust-9e75dddf609c0201d03f9792e850f95d6a283d11.zip
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 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions