auto merge of #9794 : thestinger/rust/rc, r=alexcrichton
I've left out a way to construct from a `Send` type until #9509 is resolved. I am confident that this interface can remain backwards compatible though, assuming we name the `Pointer` trait method `borrow`. When there is a way to convert from `Send` (`from_send`), a future RAII-based `Mut` type can be used with this to implemented a mutable reference-counted pointer. For now, I've left around the `RcMut` type but it may drastically change or be removed.
This commit is contained in:
@@ -129,6 +129,7 @@ pub mod ptr;
|
||||
pub mod owned;
|
||||
pub mod managed;
|
||||
pub mod borrow;
|
||||
pub mod rc;
|
||||
|
||||
|
||||
/* Core language traits */
|
||||
|
||||
Reference in New Issue
Block a user