| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-09-01 | Update to a new pinning API. | Without Boats | -0/+6 | |
| 2018-09-01 | Implement Unpin for Box, Rc, and Arc | Without Boats | -1/+4 | |
| 2018-08-31 | Add clearer wording to Arc clone example code | Otto Rask | -1/+1 | |
| 2018-08-30 | Rephrase Arc documentation changes regarding clones | Otto Rask | -4/+4 | |
| Make it clearer that `Arc::clone()` in fact creates a whole new Arc with the internal pointer pointing to the same location as the source Arc. | ||||
| 2018-08-29 | Make Arc cloning mechanics clearer in module docs | Otto Rask | -4/+5 | |
| Add some more wording to module documentation regarding how `Arc::clone()` works, as some users have assumed cloning Arc's to work via dereferencing to inner value as follows: use std::sync::Arc; let myarc = Arc::new(1); let myarcref = myarc.clone(); assert!(1 == myarcref); Instead of the actual mechanic of referencing the existing Arc value: use std::sync::Arg; let myarc = Arc::new(1); let myarcref = myarc.clone(); assert!(myarcref == &myarc); // not sure if assert could assert this in the real world | ||||
| 2018-08-20 | Replace usages of ptr::offset with ptr::{add,sub}. | Corey Farwell | -1/+1 | |
| 2018-07-23 | typos | Ralf Jung | -2/+2 | |
| 2018-07-23 | Don't use NonNull::dangling as sentinel value | Ralf Jung | -4/+9 | |
| Instead, rely on alignment and use usize::MAX as sentinel. | ||||
| 2018-07-11 | Revert borked changes in last commit. | ljedrz | -3/+3 | |
| 2018-07-10 | Add missing dyn in liballoc | ljedrz | -8/+8 | |
| 2018-07-10 | Deny bare trait objects in in src/liballoc | ljedrz | -1/+1 | |
| 2018-07-06 | Rollup merge of #52103 - tmccombs:rc_downcast, r=Mark-Simulacrum | Mark Rousskov | -2/+1 | |
| Stabilize rc_downcast Fixes #44608 | ||||
| 2018-07-07 | Fix is_dangling import when Arc is #[cfg]’ed out | Simon Sapin | -6/+1 | |
| 2018-07-07 | Rc: remove unused allocation from Weak::new() | Simon Sapin | -1/+1 | |
| Same as https://github.com/rust-lang/rust/pull/50357 | ||||
| 2018-07-07 | Use an aligned dangling pointer in Weak::new, rather than address 1 | Simon Sapin | -21/+29 | |
| 2018-07-06 | Stabilize rc_downcast | Thayne McCombs | -2/+1 | |
| Fixes #44608 | ||||
| 2018-07-03 | Strenghten synchronization in `Arc::is_unique` | Ralf Jung | -6/+7 | |
| Previously, `is_unique` would not synchronize at all with a `drop` that returned early because it was not the last reference, leading to a data race. Fixes #51780 | ||||
| 2018-06-29 | Rename alloc::arc to alloc::sync, to match std::sync | Simon Sapin | -0/+1936 | |
