rust/src/libcore
Dylan DPC a879f9cdf6
Rollup merge of #73302 - JakobDegen:should-panic-documentation, r=Mark-Simulacrum
Adjusted some doctests in libcore to use `should_panic`.

Fixes #73196 .

I grepped libstd and libcore for all the instances of this pattern that I could find, but its possible that I missed some of course. If anyone knows of any more, please let me know and I will add them to the PR.
2020-06-13 16:47:54 +02:00
..
alloc Rollup merge of #71492 - LeSeulArtichaut:document-unsafe-2, r=Mark-Simulacrum 2020-04-24 02:47:38 +02:00
array Add comment for Ord implementation for array 2020-05-06 17:02:53 +08:00
benches Use assoc float consts in libcore 2020-04-06 22:44:51 +02:00
char Adjusted some doctests in libcore to use should_panic. 2020-06-13 00:12:07 -04:00
convert Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
fmt Rollup merge of #72452 - Lucretiel:precision-doc, r=dtolnay 2020-05-29 15:06:59 +09:00
future Add core::future::IntoFuture 2020-05-22 10:55:01 +02:00
hash Add a note about fat pointers 2020-04-23 23:05:37 +02:00
iter Rollup merge of #72368 - CAD97:rangeto, r=dtolnay 2020-05-30 13:45:02 +02:00
macros Clarify errors and warnings about the transition to the new asm! 2020-05-31 18:25:05 +01:00
mem Fix small typo in docs for std::mem::drop 2020-06-08 06:04:34 -04:00
num Rollup merge of #72906 - lzutao:migrate-numeric-assoc-consts, r=dtolnay 2020-06-12 12:28:23 +02:00
ops Bump to 1.46 2020-06-03 15:27:51 -04:00
prelude Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
ptr Rollup merge of #72906 - lzutao:migrate-numeric-assoc-consts, r=dtolnay 2020-06-12 12:28:23 +02:00
slice Rollup merge of #72906 - lzutao:migrate-numeric-assoc-consts, r=dtolnay 2020-06-12 12:28:23 +02:00
str Rollup merge of #72932 - poliorcetics:pattern-contains-behaviour, r=hanna-kruppe 2020-06-13 16:47:40 +02:00
sync Rollup merge of #73036 - alexcrichton:update-wasm-fence, r=Mark-Simulacrum 2020-06-12 00:05:27 +02:00
task
tests Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
unicode Stabilize UNICODE_VERSION (feature unicode_version) 2020-04-23 14:36:30 +02:00
any.rs Map to -> return. 2020-05-12 16:54:29 +01:00
ascii.rs
bool.rs
borrow.rs
Cargo.toml
cell.rs Rollup merge of #73302 - JakobDegen:should-panic-documentation, r=Mark-Simulacrum 2020-06-13 16:47:54 +02:00
clone.rs Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
cmp.rs Fix doc link to Eq trait from PartialEq trait 2020-04-29 12:06:32 -04:00
default.rs Free default() forwarding to Default::default() 2020-06-07 01:27:06 -07:00
ffi.rs Make VaList::arg link actually work 2020-04-23 11:06:46 -04:00
hint.rs Document unsafety in core::{panicking, alloc::layout, hint, iter::adapters::zip} 2020-04-24 01:48:48 +02:00
internal_macros.rs
intrinsics.rs Bump to 1.46 2020-06-03 15:27:51 -04:00
lib.rs core: Make pointer offset methods "const fn" 2020-05-25 13:09:02 -07:00
marker.rs Bump to 1.46 2020-06-03 15:27:51 -04:00
option.rs Update src/libcore/option.rs 2020-05-13 21:13:35 +08:00
panic.rs document stable counterparts of intrinsics 2020-04-29 15:50:21 +02:00
panicking.rs Bump to 1.46 2020-06-03 15:27:51 -04:00
pin.rs clarify interaction of pin drop guarantee and panics 2020-04-27 14:45:37 +02:00
primitive.rs
raw.rs Use dyn trait syntax in more comments and docs 2020-05-24 14:46:50 +03:00
result.rs docs: make the description of Result::map_or more clear 2020-04-04 14:18:02 +03:00
time.rs de-promote Duration::from_secs 2020-05-02 12:13:27 +02:00
tuple.rs
unit.rs