Skip to content

Commit

Permalink
Auto merge of #112083 - scottmcm:simpler-range-next, r=thomcc
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
bors committed May 30, 2023
2 parents 8baa742 + 2122c87 commit f505fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pass/shims/time-with-isolation2.stdout
Original file line number Diff line number Diff line change
@@ -1 +1 @@
The loop took around 13s
The loop took around 7s

0 comments on commit f505fa9

Please sign in to comment.