rust/src/liballoc
Alexis Beingessner 635f7360b6 Rework Rc for FCP of #27718
* Add `Rc::would_unwrap(&Self) -> bool` to introspect whether try_unwrap would succeed,
  because it's destructive (unlike get_mut).
* Move `rc.downgrade()` to `Rc::downgrade(&Self)` per conventions.
* Deprecate `Rc::weak_count` and `Rc::strong_count` for questionable utility.
* Deprecate `Rc::is_unique` for questionable semantics (there are two kinds of
  uniqueness with Weak pointers in play).
* Rename `rc.make_unique()` to `Rc::make_mut(&mut Self)` per conventions, to
  avoid uniqueness terminology, and to clarify the relation to `Rc::get_mut`.
2015-08-19 15:52:12 -07:00
..
arc.rs alloc: Add issues for all unstable features 2015-08-15 18:09:16 -07:00
boxed.rs alloc: Add issues for all unstable features 2015-08-15 18:09:16 -07:00
boxed_test.rs Use Box::into_raw rather than the deprecated boxed::into_raw in tests and documentation. 2015-06-26 22:29:40 +02:00
heap.rs alloc: Add issues for all unstable features 2015-08-15 18:09:16 -07:00
lib.rs alloc: Add issues for all unstable features 2015-08-15 18:09:16 -07:00
raw_vec.rs Reduce libcore/liballoc's dependence on pointer sizes 2015-08-15 19:19:13 +12:00
rc.rs Rework Rc for FCP of #27718 2015-08-19 15:52:12 -07:00