mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-03 18:43:38 +00:00
795a934b51
Turn may_have_side_effect into an associated constant The `may_have_side_effect` is an implementation detail of `TrustedRandomAccess` trait. It describes if obtaining an iterator element may have side effects. It is currently implemented as an associated function. Turn `may_have_side_effect` into an associated constant. This makes the value immediately available to the optimizer. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |