]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #9794 : thestinger/rust/rc, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 11 Oct 2013 18:11:21 +0000 (11:11 -0700)
committerbors <bors@rust-lang.org>
Fri, 11 Oct 2013 18:11:21 +0000 (11:11 -0700)
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.

1  2 
src/libstd/std.rs

Simple merge