Auto merge of #112083 - scottmcm:simpler-range-next, r=thomcc

Make `TrustedStep` require `Copy`

All the implementations of the trait already are `Copy`, and this seems to be enough to simplify the implementations enough to make the MIR inliner willing to inline basics like `Range::next`.

r? `@thomcc`
This commit is contained in:
bors 2023-05-30 07:27:05 +00:00
commit c9e369169d

Diff content is not available