rust/library/alloc
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 BTreeMap: correct tests for alternative choices of B 2021-02-21 19:06:46 +01: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 #81940 - jhpratt:stabilize-str_split_once, r=m-ou-se 2021-02-26 15:52:29 +01:00
Cargo.toml Update compiler_builtins to 0.1.39 2021-01-07 16:16:36 +09:00