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:
bors
2013-10-11 11:11:21 -07:00
10 changed files with 118 additions and 93 deletions

View File

@@ -129,6 +129,7 @@ pub mod ptr;
pub mod owned;
pub mod managed;
pub mod borrow;
pub mod rc;
/* Core language traits */