| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-03-06 | Rollup merge of #48657 - sinkuu:opt_str_repeat, r=dtolnay | kennytm | -3/+55 | |
| Optimize str::repeat Improves the performance of `str::repeat` by bulk copying. Here is the benchmarks of `"abcde".repeat(n)`: |`n`|old [ns/iter]|new [ns/iter]|diff [%]| ---|---|---|--- |1|27.205|27.421|+0.794| |2|27.500|27.516|+0.0581| |3|27.923|27.648|-0.985| |4|31.206|30.145|-3.40| |5|35.144|31.861|-9.34| |7|43.131|34.621|-19.7| |10|54.945|36.203|-34.1| |100|428.31|52.895|-87.7| | ||||
| 2018-03-04 | Avoid unnecessary calculation | Shotaro Yamada | -3/+3 | |
| 2018-03-04 | Add comments | Shotaro Yamada | -20/+40 | |
| 2018-03-03 | core: Update stability attributes for FusedIterator | Ulrik Sverdrup | -30/+30 | |
| 2018-03-03 | core: Stabilize FusedIterator | Ulrik Sverdrup | -32/+31 | |
| FusedIterator is a marker trait that promises that the implementing iterator continues to return `None` from `.next()` once it has returned `None` once (and/or `.next_back()`, if implemented). The effects of FusedIterator are already widely available through `.fuse()`, but with stable `FusedIterator`, stable Rust users can implement this trait for their iterators when appropriate. | ||||
| 2018-03-02 | Don't have Vec<T> delegate to [T]'s bounds for indexing | Jonathan Behrens | -7/+11 | |
| 2018-03-02 | Update comments | Jonathan Behrens | -2/+2 | |
| 2018-03-02 | Have Vec use slice's implementations of Index<I> and IndexMut<I> | Jonathan Behrens | -125/+5 | |
| 2018-03-02 | Optimize str::repeat | Shotaro Yamada | -3/+35 | |
| 2018-02-28 | Rollup merge of #48450 - frewsxcv:frewsxcxv-stabilize-slice-rotatee, ↵ | kennytm | -20/+3 | |
| r=alexcrichton Stabilize [T]::rotate_{left,right} https://github.com/rust-lang/rust/issues/41891 | ||||
| 2018-02-25 | Rollup merge of #48166 - ↵ | kennytm | -2/+1 | |
| hedgehog1024:hedgehog1024-stabilize-entry_and_modify, r=alexcrichton Stabilize 'entry_and_modify' feature Stabilize `entry_and_modify` feature introduced by #44734. Closes #44733 | ||||
| 2018-02-25 | 1.25.0 -> 1.26.- | Manish Goregaokar | -1/+1 | |
| 2018-02-24 | Rollup merge of #48110 - Centril:stabilize/box_leak, r=alexcrichton | Manish Goregaokar | -6/+1 | |
| Stabilize Box::leak Stabilizes the following: + `Box::leak` (`box_leak`, in nightly since 2017-11-23) cc #46179 r? @rust-lang/libs | ||||
| 2018-02-23 | Rollup merge of #48438 - mbrubeck:docs, r=TimNN | Manish Goregaokar | -4/+4 | |
| [docs] Minor wording changes to drain_filter docs The docs currently say, "If the closure returns false, it will try again, and call the closure on the next element." But this happens regardless of whether the closure returns true or false. | ||||
| 2018-02-22 | Stabilize [T]::rotate_{left,right} | Corey Farwell | -20/+3 | |
| https://github.com/rust-lang/rust/issues/41891 | ||||
| 2018-02-22 | [docs] Minor wording changes to drain_filter docs | Matt Brubeck | -4/+4 | |
| The docs currently say, "If the closure returns false, it will try again, and call the closure on the next element." But this happens regardless of whether the closure returns true or false. | ||||
| 2018-02-22 | Small grammar fix to docs for String::new(). | Anthony Deschamps | -1/+1 | |
| 2018-02-18 | Auto merge of #47687 - SimonSapin:panic-impl, r=sfackler | bors | -1/+1 | |
| RFC 2070 part 1: PanicInfo and Location API changes This implements part of https://rust-lang.github.io/rfcs/2070-panic-implementation.html Tracking issue: https://github.com/rust-lang/rust/issues/44489 * Move `std::panic::PanicInfo` and `std::panic::Location` to a new `core::panic` module. The two types and the `std` module were already `#[stable]` and stay that way, the new `core` module is `#[unstable]`. * Add a new `PanicInfo::message(&self) -> Option<&fmt::Arguments>` method, which is `#[unstable]`. * Implement `Display` for `PanicInfo` and `Location` | ||||
| 2018-02-16 | Clarify contiguity of Vec's elements. | Sergio Benitez | -5/+5 | |
| 2018-02-13 | Switch to retain calling drain_filter. | Jacob Kiesel | -21/+1 | |
| 2018-02-12 | Stabilize 'entry_and_modify' feature for BTreeMap | hedgehog1024 | -2/+1 | |
| 2018-02-10 | stabilize Box::leak: remove #![feature(box_leak)] in docs | Mazdak Farrokhzad | -4/+0 | |
| 2018-02-10 | stabilize (version: 1.26.0) Box::leak, cc #46179 | Mazdak Farrokhzad | -2/+1 | |
| 2018-02-08 | Swap `ptr::read` for `ptr::drop_in_place` | Jacob Kiesel | -1/+1 | |
| 2018-02-07 | Apply optimization from #44355 to retain | Jacob Kiesel | -4/+9 | |
| 2018-01-28 | Document that `Index` ops can panic on `HashMap` & `BTreeMap`. | Corey Farwell | -0/+5 | |
| Fixes https://github.com/rust-lang/rust/issues/47011. | ||||
| 2018-01-25 | Auto merge of #47006 - bitshifter:stabilize-repr-align, r=eddyb | bors | -1/+0 | |
| Stabilized `#[repr(align(x))]` attribute (RFC 1358) Stabilzed `#[repr(align(x))]` with attr_literal syntax as proposed by @eddyb https://github.com/rust-lang/rust/issues/33626#issuecomment-348467804 | ||||
| 2018-01-24 | Add missing micro version number component in stability attributes. | Simon Sapin | -1/+1 | |
| 2018-01-24 | Auto merge of #47299 - cramertj:unsafe-placer, r=alexcrichton | bors | -7/+7 | |
| Make core::ops::Place an unsafe trait Consumers of `Place` would reasonably expect that the `pointer` function returns a valid pointer to memory that can actually be written to. | ||||
| 2018-01-23 | Stabilized `#[repr(align(x))]` attribute (RFC 1358) | Cameron Hart | -1/+0 | |
| 2018-01-21 | Rollup merge of #47632 - sdroege:exact-chunks-docs-broken-links, r=kennytm | Guillaume Gomez | -0/+8 | |
| Fix broken links to other slice functions in chunks/chunks_mut/exact_… …chunk/exact_chunks_mut docs See https://github.com/rust-lang/rust/pull/47126#discussion_r162780492 | ||||
| 2018-01-21 | Rollup merge of #47625 - astraw:btreeset-doctest-fix, r=kennytm | Guillaume Gomez | -12/+12 | |
| fix doctests for BTreeSet to use BTreeSet (not BTreeMap) This fixes #47624 | ||||
| 2018-01-21 | Rollup merge of #47595 - PieterPenninckx:master, r=shepmaster | Guillaume Gomez | -7/+8 | |
| Small improvements to the documentation of VecDeque. Some small improvements to the documentation of `VecDeque`. | ||||
| 2018-01-21 | Revert change to docs in panic section of VecDeque::split_off | Pieter Penninckx | -1/+1 | |
| 2018-01-21 | Fix broken links to other slice functions in ↵ | Sebastian Dröge | -0/+8 | |
| chunks/chunks_mut/exact_chunk/exact_chunks_mut docs See https://github.com/rust-lang/rust/pull/47126#discussion_r162780492 | ||||
| 2018-01-20 | fix doctests for BTreeSet to use BTreeSet (not BTreeMap) | Andrew Straw | -12/+12 | |
| This fixes #47624 | ||||
| 2018-01-20 | Auto merge of #46980 - ↵ | bors | -1/+1 | |
| zackmdavis:and_the_case_of_the_needlessly_parenthesized_arguments, r=petrochenkov in which the unused-parens lint comes to cover function and method args Resolves #46137. | ||||
| 2018-01-20 | Assign its own tracking issue to Box::into_raw_non_null | Simon Sapin | -1/+4 | |
| https://github.com/rust-lang/rust/issues/47336 | ||||
| 2018-01-20 | Revert Box::into_raw_non_null to unstable | Simon Sapin | -1/+1 | |
| 2018-01-20 | Rename Box::into_non_null_raw to Box::into_raw_non_null | Simon Sapin | -13/+13 | |
| 2018-01-20 | Remove `Box::from_non_null_raw` | Simon Sapin | -35/+3 | |
| Per https://github.com/rust-lang/rust/pull/46952#issuecomment-353956225 | ||||
| 2018-01-20 | Rename Box::*_nonnull_raw to *_non_null_raw | Simon Sapin | -18/+18 | |
| 2018-01-20 | Stabilize std::ptr::NonNull | Simon Sapin | -9/+2 | |
| 2018-01-20 | Mark Unique as perma-unstable, with the feature renamed to ptr_internals. | Simon Sapin | -1/+1 | |
| 2018-01-20 | Replace Box::{from,into}_unique with {from,into}_nonnull_raw | Simon Sapin | -31/+38 | |
| Thew `_raw` prefix is included because the fact that `Box`’s ownership semantics are "dissolved" or recreated seem more important than the exact parameter type or return type. | ||||
| 2018-01-20 | Replace Unique<T> with NonZero<T> in Alloc trait | Simon Sapin | -11/+11 | |
| 2018-01-20 | Rename std::ptr::Shared to NonNull | Simon Sapin | -43/+43 | |
| `Shared` is now a deprecated `type` alias. CC https://github.com/rust-lang/rust/issues/27730#issuecomment-352800629 | ||||
| 2018-01-19 | Small improvements to the documentation of VecDeque. | Pieter Penninckx | -7/+8 | |
| 2018-01-18 | in which the unused-parens lint comes to cover function and method args | Zack M. Davis | -1/+1 | |
| Resolves #46137. | ||||
| 2018-01-15 | Reexport -> re-export in prose and documentation comments | Carol (Nichols || Goulding) | -2/+2 | |
