diff options
| author | bors <bors@rust-lang.org> | 2014-05-30 04:21:41 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-05-30 04:21:41 -0700 |
| commit | 32b6fc1effaadaf951818434ddd02d530f5c1078 (patch) | |
| tree | 273175e6a42e801b4e7d9afe6063518324b07007 /src/rustllvm/RustWrapper.cpp | |
| parent | 3a105464fbdf5ba9df7c97eaecffe9f8479f91b0 (diff) | |
| parent | 7889c951240624b22cc4c9b87f2852322b0b716c (diff) | |
| download | rust-32b6fc1effaadaf951818434ddd02d530f5c1078.tar.gz rust-32b6fc1effaadaf951818434ddd02d530f5c1078.zip | |
auto merge of #14522 : aturon/rust/make_unique, r=alexcrichton,alexcrichton,me
This patch makes `Arc::make_unique` examine the number of weak references as well as strong references, which is required for safety. It also adds a `make_unique` method to the `Rc` type for consistency. Closes #14521.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
