rust/src/libcore
kennytm cb2dde63d5
Rollup merge of #59328 - koalatux:iter-nth-back, r=scottmcm
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-24 19:00:10 +08:00
..
benches Fix the bench_max and bench_max_by_key benchmarks 2019-03-12 17:52:10 +01:00
char Rollup merge of #58778 - xfix:exact_size_case_mapping_iter, r=SimonSapin 2019-03-19 15:16:49 +01:00
fmt avoid unnecessary use of MaybeUninit::get_ref, and expand comment on the others 2019-02-22 23:05:58 +01:00
future Put Future trait into spotlight 2019-02-20 22:06:30 +01:00
hash libs: doc comments 2019-02-10 23:57:25 +00:00
iter Replaced self-reflective explicit types with clearer Self or Self::… in stdlib docs 2019-03-18 13:57:51 +01:00
num Rollup merge of #59082 - alexreg:cosmetic-2-doc-comments, r=Centril 2019-03-16 22:39:56 +08:00
ops Rollup merge of #59190 - greg-kargin:master, r=sanxiyn 2019-03-22 19:31:21 +01:00
prelude Remove licenses 2018-12-25 21:08:33 -07:00
slice Rollup merge of #59328 - koalatux:iter-nth-back, r=scottmcm 2019-03-24 19:00:10 +08:00
str Improvements to comments in libstd, libcore, liballoc. 2019-03-11 02:25:44 +00:00
sync Bootstrap compiler update for 1.35 release 2019-03-02 09:05:34 -07:00
task Improvements to comments in libstd, libcore, liballoc. 2019-03-11 02:25:44 +00:00
tests Rollup merge of #59328 - koalatux:iter-nth-back, r=scottmcm 2019-03-24 19:00:10 +08:00
unicode Remove licenses 2018-12-25 21:08:33 -07:00
alloc.rs heading # Unsafety => # Safety in stdlib docs. 2019-02-25 08:01:35 +01:00
any.rs tests: doc comments 2019-02-10 23:42:32 +00:00
array.rs Use lifetime contravariance to elide more lifetimes in core+alloc+std 2019-03-09 19:10:28 -08:00
ascii.rs Remove licenses 2018-12-25 21:08:33 -07:00
borrow.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
cell.rs Stabilize refcell_map_split feature 2019-03-18 15:06:34 -07:00
clone.rs Auto merge of #57125 - doitian:inconsistent-clone-doc, r=bluss 2019-01-01 20:50:13 +00:00
cmp.rs Replaced self-reflective explicit types with clearer Self or Self::… in stdlib docs 2019-03-18 13:57:51 +01:00
convert.rs Remove stabilized feature gate in doctest 2019-03-12 17:42:42 +01:00
default.rs libs: doc comments 2019-02-10 23:57:25 +00:00
ffi.rs core: ensure VaList passes improper_ctypes lint 2019-03-05 13:43:48 +00:00
hint.rs Fix undefined behavior in hint::spin_loop for x86 targets without SSE2 2019-03-21 14:23:29 +01:00
internal_macros.rs Use lifetime contravariance to elide more lifetimes in core+alloc+std 2019-03-09 19:10:28 -08:00
intrinsics.rs Bootstrap compiler update for 1.35 release 2019-03-02 09:05:34 -07:00
iter_private.rs Remove licenses 2018-12-25 21:08:33 -07:00
lib.rs Stabilize unrestricted_attribute_tokens 2019-02-25 23:21:54 +03:00
macros.rs Add todo!() macro 2019-03-18 19:27:31 +03:00
marker.rs Bootstrap compiler update for 1.35 release 2019-03-02 09:05:34 -07:00
mem.rs Improvements to comments in libstd, libcore, liballoc. 2019-03-11 02:25:44 +00:00
option.rs Rollup merge of #59231 - matklad:copied, r=Centril 2019-03-16 22:42:00 +08:00
panic.rs Remove licenses 2018-12-25 21:08:33 -07:00
panicking.rs Remove licenses 2018-12-25 21:08:33 -07:00
pin.rs Rollup merge of #58939 - taeguk:fix-doc-about-pin, r=rkruppe 2019-03-19 15:16:53 +01:00
ptr.rs Rollup merge of #59130 - RalfJung:non-null, r=rkruppe 2019-03-13 03:33:54 +01:00
raw.rs Remove licenses 2018-12-25 21:08:33 -07:00
result.rs Option and Result: Add references to documentation of as_ref and as_mut 2019-03-15 16:42:10 -04:00
time.rs fix typo 2019-03-12 16:42:18 +03:00
tuple.rs Remove licenses 2018-12-25 21:08:33 -07:00
unit.rs Remove licenses 2018-12-25 21:08:33 -07:00