rust/library/alloc
Tomasz Miąsko dc3304c341 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-02-15 17:36:29 +01:00
..
benches Reorder benches const variable 2020-09-29 21:39:24 +08:00
src Turn may_have_side_effect into an associated constant 2021-02-15 17:36:29 +01:00
tests Added tests to drain an empty vec 2021-02-13 11:18:36 +08:00
Cargo.toml Update compiler_builtins to 0.1.39 2021-01-07 16:16:36 +09:00