]> git.lizzy.rs Git - rust.git/commit
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)
commitc147ec6d06b19b6e84f488212d7775b5eb937754
tree2b887f0fbbdf203ee07050dbe0541b7d983336cf
parented37b00b06f14e41740bd296e99b4ece0ce63c84
parent18be986c992d521c6ecdd4ded67c798c1fae172e
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.
src/libstd/std.rs