rust/library/alloc
CDirkx af24bdbd96 Make cow_is_borrowed methods const
Constify the following methods of `alloc::borrow::Cow`:
 - `is_borrowed`
 - `is_owned`

These methods are still unstable under `cow_is_borrowed`.
Possible because of #49146 (Allow if and match in constants).

Tracking issue: #65143
2020-08-31 03:43:47 +02:00
..
benches Liballoc bench rename push_all extend_from_slice 2020-08-20 19:04:52 +08:00
src Make cow_is_borrowed methods const 2020-08-31 03:43:47 +02:00
tests Move btree unit test to their native, privileged location 2020-08-14 17:54:09 +02:00
Cargo.toml