mozilla/rust — pull request #9794 by thestinger (2013-10-10 15:54:41+00:00)
Title: clean up the `Rc` type and move it to libstd

I've left out a way to construct from a `Send` type until #9509 is fixed. 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.