| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-12-20 | Rollup merge of #46517 - notriddle:patch-2, r=BurntSushi | kennytm | -4/+2 | |
| Stablize RefCell::{replace, swap} RefCell::replace_with is not stablized in this PR, since it wasn't part of the RFC. CC #43570 | ||||
| 2017-12-06 | more comments | Ariel Ben-Yehuda | -1/+1 | |
| 2017-12-06 | adjust libcore | Ariel Ben-Yehuda | -2/+4 | |
| 2017-12-05 | Update cell.rs | Michael Howell | -3/+3 | |
| 2017-12-05 | Move replace_with to its own feature flag | Michael Howell | -1/+1 | |
| I'm not allowed to have the same feature flag associated with multiple stability levels. | ||||
| 2017-12-05 | Stablize RefCell::{replace, swap} | Michael Howell | -4/+2 | |
| RefCell::replace_with is not stablized in this PR, since it wasn't part of the RFC. | ||||
| 2017-11-26 | Stabilize const-calling existing const-fns in std | Simon Sapin | -3/+0 | |
| Fixes #46038 | ||||
| 2017-11-06 | Add RefCell<T>::replace_with | Havvy | -13/+38 | |
| 2017-10-26 | Bump to 1.23 and update bootstrap | Alex Crichton | -3/+3 | |
| This commit updates the bootstrap compiler, bumps the version to 1.23, updates Cargo, updates books, and updates crates.io dependencies | ||||
| 2017-09-16 | change #![feature(const_fn)] to specific gates | Alex Burka | -0/+3 | |
| 2017-08-24 | Fix inconsistent doc headings | lukaramu | -2/+2 | |
| This fixes headings reading "Unsafety" and "Example", they should be "Safety" and "Examples" according to RFC 1574. | ||||
| 2017-08-17 | Fixed typo in RefCell::get_mut | Anthony Clays | -1/+1 | |
| 2017-08-14 | Auto merge of #43574 - notriddle:master, r=sfackler | bors | -0/+53 | |
| Implement `RefCell::replace` and `RefCell::swap` Tracking issue: #43570 | ||||
| 2017-08-08 | Clarify the language around `RefCell::swap` | Michael Howell | -1/+1 | |
| 2017-08-02 | Change "Example" to "Examples" in the doc comments | Michael Howell | -2/+2 | |
| 2017-07-31 | Implement `RefCell::replace` and `RefCell::swap` | Michael Howell | -0/+53 | |
| 2017-07-24 | s/immutable/my_struct | Tymoteusz Jankowski | -3/+3 | |
| 2017-07-24 | empty lines | Tymoteusz Jankowski | -0/+5 | |
| 2017-07-24 | ci fix? | Tymoteusz Jankowski | -5/+0 | |
| 2017-07-24 | review fixes | Tymoteusz Jankowski | -3/+3 | |
| 2017-07-24 | add prose | Tymoteusz Jankowski | -1/+6 | |
| 2017-07-23 | Add simple docs example for struct Cell | Tymoteusz Jankowski | -0/+23 | |
| 2017-07-10 | Correct some stability attributes | Oliver Middleton | -2/+2 | |
| These show up in rustdoc so need to be correct. | ||||
| 2017-06-22 | Ensure Guard types impl Display & Debug | Chris MacNaughton | -0/+14 | |
| Fixes #24372 | ||||
| 2017-06-08 | doc: a more complete explanation, and a better example | Tshepang Lekhonkhobe | -5/+5 | |
| 2017-05-20 | Correct some stability versions | Oliver Middleton | -1/+1 | |
| These were found by running tidy on stable versions of rust and finding features stabilised with the wrong version numbers. | ||||
| 2017-05-04 | fallout from NonZero/Unique/Shared changes | Alexis Beingessner | -3/+1 | |
| 2017-04-24 | Add more explanation on RefCell::get_mut | Guillaume Gomez | -0/+9 | |
| 2017-04-20 | Remove RefCell::borrow_state | Josh Stone | -46/+0 | |
| [unstable, deprecated since 1.15.0] | ||||
| 2017-04-20 | Remove {Cell,RefCell}::as_unsafe_cell | Josh Stone | -43/+0 | |
| [unstable, deprecated since 1.12.0] | ||||
| 2017-03-17 | Stabilize move_cell feature, closes #39264 | Aaron Turon | -8/+4 | |
| 2017-02-15 | Rollup merge of #39793 - RalfJung:cell, r=alexcrichton | Corey Farwell | -62/+62 | |
| Allow more Cell methods for non-Copy types Clearly, `get_mut` is safe for any `T`. The other two only provide unsafe pointers anyway. The only remaining inherent method with `Copy` bound is `get`, which sounds about right to me. I found the order if `impl` blocks in the file a little weird (first inherent impl, then some trait impls, then another inherent impl), but didn't change it to keep the diff small. Contributes to #39264 | ||||
| 2017-02-14 | Remove Copy bound from some Cell trait impls | Ralf Jung | -2/+2 | |
| Contributes to #39264 | ||||
| 2017-02-13 | Allow more Cell methods for non-Copy types | Ralf Jung | -60/+60 | |
| Contributes to #39264 | ||||
| 2017-02-11 | Add `swap` method for `Cell` | Charlie Fan | -0/+27 | |
| 2017-02-01 | Update cell docs | Wesley Wiser | -5/+13 | |
| 2017-01-26 | Move stability attributes per feedback | Wesley Wiser | -2/+3 | |
| 2017-01-24 | Extend Cell to work with non-Copy types | Wesley Wiser | -36/+94 | |
| Part of #39264 | ||||
| 2016-12-16 | Address fallout | Aaron Turon | -0/+2 | |
| 2016-12-15 | Deprecate std::cell::RefCell::borrow_state | Aaron Turon | -0/+2 | |
| 2016-12-15 | Stabilize std::cell::Ref::clone | Aaron Turon | -3/+1 | |
| 2016-10-03 | std: Stabilize and deprecate APIs for 1.13 | Alex Crichton | -25/+21 | |
| This commit is intended to be backported to the 1.13 branch, and works with the following APIs: Stabilized * `i32::checked_abs` * `i32::wrapping_abs` * `i32::overflowing_abs` * `RefCell::try_borrow` * `RefCell::try_borrow_mut` * `DefaultHasher` * `DefaultHasher::new` * `DefaultHasher::default` Deprecated * `BinaryHeap::push_pop` * `BinaryHeap::replace` * `SipHash13` * `SipHash24` * `SipHasher` - use `DefaultHasher` instead in the `std::collections::hash_map` module Closes #28147 Closes #34767 Closes #35057 Closes #35070 | ||||
| 2016-09-11 | Documentation of what does for each type | athulappadan | -0/+3 | |
| 2016-08-30 | Rollup merge of #35895 - F001:patch-1, r=steveklabnik | Guillaume Gomez | -10/+39 | |
| Fix documentation in cell mod The implementation of Rc type in this doc is outdated. | ||||
| 2016-08-26 | Fix documentation in cell mod | changchun.fan | -10/+39 | |
| 2016-08-24 | Use `#[prelude_import]` in `libcore`. | Jeffrey Seyfried | -10/+3 | |
| 2016-08-23 | Auto merge of #35627 - apasel422:coerce-cell, r=alexcrichton | bors | -0/+16 | |
| Implement `CoerceUnsized` for `{Cell, RefCell, UnsafeCell}` These impls are analogous to the one for `NonZero`. It's occasionally useful to be able to coerce the cell types when they're being used inside another abstraction. See Manishearth/rust-gc#17 for an example. r? @eddyb | ||||
| 2016-08-19 | std: Stabilize APIs for the 1.12 release | Alex Crichton | -0/+36 | |
| Stabilized * `Cell::as_ptr` * `RefCell::as_ptr` * `IpAddr::is_{unspecified,loopback,multicast}` * `Ipv6Addr::octets` * `LinkedList::contains` * `VecDeque::contains` * `ExitStatusExt::from_raw` - both on Unix and Windows * `Receiver::recv_timeout` * `RecvTimeoutError` * `BinaryHeap::peek_mut` * `PeekMut` * `iter::Product` * `iter::Sum` * `OccupiedEntry::remove_entry` * `VacantEntry::into_key` Deprecated * `Cell::as_unsafe_cell` * `RefCell::as_unsafe_cell` * `OccupiedEntry::remove_pair` Closes #27708 cc #27709 Closes #32313 Closes #32630 Closes #32713 Closes #34029 Closes #34392 Closes #34285 Closes #34529 | ||||
| 2016-08-14 | Implement `CoerceUnsized` for `{Cell, RefCell, UnsafeCell}` | Andrew Paseltiner | -0/+16 | |
| 2016-08-14 | Rollup merge of #35392 - malbarbo:cell-from, r=brson | Eduard-Mihai Burtescu | -0/+22 | |
| Implement From for Cell, RefCell and UnsafeCell Considering that `From` is implemented for `Box`, `Rc` and `Arc`, it seems [reasonable](https://internals.rust-lang.org/t/implementing-from-t-for-other-std-types/3744) to implement it for `Cell`, `RefCell` and `UnsafeCell`. | ||||
