| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-06-22 | Remove FnBox. | Mazdak Farrokhzad | -79/+0 | |
| 2019-05-27 | Update src/liballoc/boxed.rs | Aleksey Kladov | -0/+1 | |
| Co-Authored-By: Ralf Jung <post@ralfj.de> | ||||
| 2019-05-27 | make Box<str>::clone simpler & safer | Aleksey Kladov | -4/+2 | |
| 2019-05-27 | avoid materializing unintialized Boxes in RawVec | Aleksey Kladov | -3/+6 | |
| 2019-05-24 | Deprecate `FnBox`. `Box<dyn FnOnce()>` can be called directly, since 1.35 | Simon Sapin | -9/+33 | |
| FCP completion: https://github.com/rust-lang/rust/issues/28796#issuecomment-439731515 | ||||
| 2019-05-23 | adjust comment | Ralf Jung | -1/+2 | |
| 2019-05-23 | Box::into_unique: do the reborrow-to-raw *after* destroying the Box | Ralf Jung | -4/+4 | |
| 2019-05-20 | Create and reference Memory Layout section of boxed docs | Brent Kerby | -31/+39 | |
| 2019-05-20 | Remove trailing whitespaces to satisfy tidy | Brent Kerby | -5/+5 | |
| 2019-05-20 | Update boxed::Box docs on memory layout | Brent Kerby | -14/+45 | |
| 2019-04-23 | Stabilize futures_api | Taylor Cramer | -1/+1 | |
| 2019-04-15 | warn(missing_docs) in liballoc, and add missing docs | Ralf Jung | -0/+1 | |
| 2019-04-11 | Fix broken links on std::boxed doc page | Oliver Middleton | -0/+2 | |
| 2019-04-07 | Auto merge of #59119 - cramertj:cx-back, r=withoutboats | bors | -3/+3 | |
| Future-proof the Futures API cc https://github.com/rust-lang/rust/issues/59113, @carllerche, @rust-lang/libs r? @withoutboats | ||||
| 2019-04-05 | Future-proof the Futures API | Taylor Cramer | -3/+3 | |
| 2019-04-05 | Stabilize boxed_closure_impls in 1.35.0. | Charles Lew | -9/+3 | |
| 2019-04-05 | Remove FnBox specialization of impl FnOnce for Box<impl FnOnce>. | Masaki Hara | -17/+1 | |
| 2019-04-05 | We already have unsized_locals in stage0. | Masaki Hara | -9/+0 | |
| 2019-04-05 | Add Fn* blanket impls for Box. | Masaki Hara | -0/+33 | |
| 2019-04-05 | Make FnBox a subtrait of FnOnce. | Masaki Hara | -5/+1 | |
| 2019-03-24 | Rollup merge of #59328 - koalatux:iter-nth-back, r=scottmcm | kennytm | -0/+3 | |
| Implement specialized nth_back() for Box and Windows. Hi there, this is my first pull request to rust :-) I started implementing some specializations for DoubleEndedIterator::nth_back() and these are the first two. The problem has been discussed in #54054 and nth_back() is tracked in #56995. I'm stuck with the next implementation so I though I do a PR for the ones I'm confident with to get some feedback. | ||||
| 2019-03-09 | Use lifetime contravariance to elide more lifetimes in core+alloc+std | Scott McMurray | -4/+4 | |
| 2019-02-25 | Rollup merge of #58686 - hellow554:rustfmt_depr, r=cramertj | Mazdak Farrokhzad | -1/+1 | |
| replace deprecated rustfmt_skip with rustfmt::skip | ||||
| 2019-02-24 | Rollup merge of #58183 - jethrogb:jb/alloc-box-guarantees, r=SimonSapin | Mazdak Farrokhzad | -0/+10 | |
| Clarify guarantees for `Box` allocation This basically says `Box` does the obvious things for its allocations. See also: https://users.rust-lang.org/t/alloc-crate-guarantees/24981 This may require a T-libs FCP? Not sure. r? @sfackler | ||||
| 2019-02-23 | replace deprecated rustfmt_skip with rustfmt::skip | Marcel Hellwig | -1/+1 | |
| 2019-02-16 | implement nth_back for Box | Adrian Friedli | -0/+3 | |
| 2019-02-16 | Rollup merge of #58429 - RalfJung:box, r=TimNN | kennytm | -3/+8 | |
| fix Box::into_unique effecitvely transmuting to a raw ptr Miri/Stacked Borrows treat `Box` specially: they assert that it is unique, and tag it appropriately. However, currently, `Box::into_inner` is not aware of that and returns a raw pointer (wrapped in a `Unique`) that carries the same tag as the box, meaning it carries a `Uniq` tag. This leads to all sorts of problems when people use the raw pointer they get out of the `Unique` type. In the future, it'd be interesting to make `Unique` also carry some kind of uniqueness. In that case, something like this would instead be needed whenever a raw pointer is extracted from a `Unique`. However, that is out-of-scope for the current version of Stacked Borrows. So until then, this changes `into_unique` to perform a proper reference-to-raw-ptr-cast, which clears the tag. | ||||
| 2019-02-13 | fix Box::into_unique effecitvely transmuting to a raw ptr | Ralf Jung | -3/+8 | |
| 2019-02-13 | Clarify guarantees for `Box` allocation | Jethro Beekman | -0/+10 | |
| 2019-02-03 | Update the future/task API | Matthias Einwag | -3/+3 | |
| This change updates the future and task API as discussed in the stabilization RFC at https://github.com/rust-lang/rfcs/pull/2592. Changes: - Replacing UnsafeWake with RawWaker and RawWakerVtable - Removal of LocalWaker - Removal of Arc-based Wake trait | ||||
| 2019-02-03 | liballoc: revert nested imports style changes. | Mazdak Farrokhzad | -20/+18 | |
| 2019-02-02 | liballoc: fix some idiom lints. | Mazdak Farrokhzad | -3/+3 | |
| 2019-02-02 | liballoc: elide some lifetimes. | Mazdak Farrokhzad | -2/+2 | |
| 2019-02-02 | liballoc: refactor & fix some imports. | Mazdak Farrokhzad | -18/+20 | |
| 2019-02-02 | liballoc: cargo check passes on 2018 | Mazdak Farrokhzad | -3/+3 | |
| 2019-01-27 | impl Generator for Pin<Box<Generator>> | Wim Looman | -0/+10 | |
| 2019-01-27 | Change generator trait to use pinning | Wim Looman | -7/+6 | |
| 2019-01-03 | Add discoverable function for converting Box<T> -> Pin<Box<T>> | Wim Looman | -4/+14 | |
| 2019-01-03 | Allow converting Box<T: !Sized> -> Pin<Box<T>> | Wim Looman | -1/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-24 | Rollup merge of #55470 - daniellimws:box-from-docs, r=Centril | Mazdak Farrokhzad | -0/+54 | |
| box: Add documentation for `From` impls This is a part of #51430. A brief description of the behaviour and examples are added to the documentation. I am not sure what sort of examples to put for the `From` for `Pin` as my [code](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2015&gist=97c908f44e41c9faeffec5b61d72a03e) doesn't even manage to compile using the nightly build. Somehow I feel that I missed out something so do let me know if more information is needed in the documentation or any of the examples require change. | ||||
| 2018-12-21 | Rename Box/Arc/Rc::pinned to ::pin | Taylor Cramer | -1/+3 | |
| 2018-12-21 | Stabilize Pin | Taylor Cramer | -3/+3 | |
| 2018-12-20 | Stabilize `Rc`, `Arc` and `Pin` as method receivers | Michael Hewson | -1/+6 | |
| This lets you write methods using `self: Rc<Self>`, `self: Arc<Self>`, `self: Pin<&mut Self>`, `self: Pin<Box<Self>`, and other combinations involving `Pin` and another stdlib receiver type, without needing the `arbitrary_self_types`. Other user-created receiver types can be used, but they still require the feature flag to use. This is implemented by introducing a new trait, `Receiver`, which the method receiver's type must implement if the `arbitrary_self_types` feature is not enabled. To keep composed receiver types such as `&Arc<Self>` unstable, the receiver type is also required to implement `Deref<Target=Self>` when the feature flag is not enabled. This lets you use `self: Rc<Self>` and `self: Arc<Self>` in stable Rust, which was not allowed previously. It was agreed that they would be stabilized in #55786. `self: Pin<&Self>` and other pinned receiver types do not require the `arbitrary_self_types` feature, but they cannot be used on stable because `Pin` still requires the `pin` feature. | ||||
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-12-05 | Fix error in example by adding type annotation | daniellimws | -1/+1 | |
| 2018-11-20 | Incorporate `dyn` into more comments and docs. | Corey Farwell | -8/+8 | |
| 2018-11-17 | Add double quotes to resolve error | daniellimws | -1/+1 | |
| 2018-11-11 | change attribute to stable | Axary | -1/+1 | |
| 2018-11-10 | add FromIterator<A> to Box<[A]> | Axary | -1/+9 | |
