rust/library/core
bors 795a934b51 Auto merge of #82043 - tmiasko:may-have-side-effect, r=kennytm
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.
2021-03-02 16:08:32 +00:00
..
benches Unify way to flip 6th bit. (Same assembly generated) 2021-02-08 12:21:36 +00:00
src Auto merge of #82043 - tmiasko:may-have-side-effect, r=kennytm 2021-03-02 16:08:32 +00:00
tests Rollup merge of #81167 - usbalbin:const_write, r=oli-obk 2021-02-25 14:33:51 +01:00
Cargo.toml