rust/src/libcore
Mazdak Farrokhzad 719eeb260b
Rollup merge of #61990 - llogiq:questionmark-test, r=QuietMisdreavus
First question mark in doctest

We have had `?` for `Result`s in doctests for some time, but so far haven't used them in doctests. With this PR, I want to start the de-`unwrap`ping of doctests – and the discussion on where to do so.

There is one downside, which is that the code can no longer be copied into a plain `main()` method, on the other hand, there should be a workable error if one does this.
2019-07-07 05:11:51 +02:00
..
benches Change ... to ..= where applicable 2019-06-14 12:24:38 -05:00
char fix the same typo in doctest 2019-06-30 02:46:45 +09:00
fmt Fix meta-variable binding errors in macros 2019-06-23 01:30:41 +02:00
future Switch master to 1.38 2019-07-04 11:26:57 -04:00
hash Fix meta-variable binding errors in macros 2019-06-23 01:30:41 +02:00
iter doc(libcore) Fix CS 2019-06-28 14:01:58 +02:00
mem Rollup merge of #62150 - alex:mem-uninit-refactor, r=RalfJung 2019-07-05 13:53:00 +02:00
num Switch master to 1.38 2019-07-04 11:26:57 -04:00
ops Remove needless lifetimes 2019-07-01 12:15:27 +02:00
prelude libcore => 2018 2019-04-18 14:47:35 +09:00
ptr Rollup merge of #62323 - Centril:clarify-read-unaligned, r=RalfJung 2019-07-05 13:53:07 +02:00
slice squash commit for nth_back on chunks exact 2019-06-23 02:02:21 +05:30
str Rollup merge of #62316 - khuey:efficient_last, r=sfackler 2019-07-04 01:38:56 +02:00
sync Remove unneeded feature attr from atomic integers doctests 2019-06-04 13:24:39 +00:00
task bump nightly to 1.37.0 2019-05-23 12:27:58 +02:00
tests Rollup merge of #62346 - RalfJung:miri-tests, r=Centril 2019-07-04 01:39:02 +02:00
unicode Rollup merge of #60081 - pawroman:cleanup_unicode_script, r=varkor 2019-07-06 22:14:33 +02:00
alloc.rs Rollup merge of #60947 - blkerby:global_alloc_typo, r=jonas-schievink 2019-05-19 02:31:46 +02:00
any.rs libcore: deny more... 2019-04-19 01:37:12 +02:00
array.rs Auto merge of #60318 - jethrogb:jb/try-from-slice-to-infallible, r=sfackler 2019-05-11 19:13:12 +00:00
ascii.rs When possible without changing semantics, implement Iterator::last in terms of DoubleEndedIterator::next_back for types in liballoc and libcore. 2019-07-02 13:45:29 -07:00
borrow.rs be more direct about borrow requirenments 2019-04-03 11:41:24 +03:00
Cargo.toml libcore => 2018 2019-04-18 14:47:35 +09:00
cell.rs Stabilize Cell::from_mut and as_slice_of_cells 2019-06-07 16:25:41 +02:00
clone.rs libcore => 2018 2019-04-18 14:47:35 +09:00
cmp.rs libcore => 2018 2019-04-18 14:47:35 +09:00
convert.rs Rollup merge of #62186 - GuillaumeGomez:add-missing-type-links-into, r=docs 2019-07-03 09:59:18 -04:00
default.rs libs: doc comments 2019-02-10 23:57:25 +00:00
ffi.rs Switch master to 1.38 2019-07-04 11:26:57 -04:00
hint.rs std: Remove internal definitions of cfg_if! macro 2019-06-10 10:58:44 -07:00
internal_macros.rs std: Remove internal definitions of cfg_if! macro 2019-06-10 10:58:44 -07:00
intrinsics.rs Rollup merge of #62150 - alex:mem-uninit-refactor, r=RalfJung 2019-07-05 13:53:00 +02:00
iter_private.rs Remove licenses 2018-12-25 21:08:33 -07:00
lib.rs Improve documentation for built-in macros 2019-07-06 16:59:08 +03:00
macros.rs Rollup merge of #61990 - llogiq:questionmark-test, r=QuietMisdreavus 2019-07-07 05:11:51 +02:00
marker.rs Remove needless lifetimes 2019-07-01 12:15:27 +02:00
option.rs Rollup merge of #62344 - matklad:simplify-option, r=sfackler 2019-07-04 01:39:01 +02:00
panic.rs libcore: deny more... 2019-04-19 01:37:12 +02:00
panicking.rs libcore: deny more... 2019-04-19 01:37:12 +02:00
pin.rs nits 2019-06-19 15:11:54 +02:00
raw.rs Fix more tests after revert of rustdoc cfg(test) feature 2019-06-09 18:15:53 +01:00
result.rs Implement Clone::clone_from for Result. 2019-06-01 09:14:59 +02:00
time.rs libcore: deny more... 2019-04-19 01:37:12 +02:00
tuple.rs libcore => 2018 2019-04-18 14:47:35 +09:00
unit.rs libcore => 2018 2019-04-18 14:47:35 +09:00