rust/src/libcore
bors d63b8e539f Auto merge of #31116 - bluss:expect-out-cold, r=alexcrichton
Use cold functions for panic formatting Option::expect, Result::unwrap, expect

These methods are marked inline, but insert a big chunk of formatting
code, as well as other error path related code, such as
deallocating a std::io::Error if you have one.

We can explicitly separate out that code path into a function that is
never inline, since the panicking case should always be rare.
2016-01-23 00:33:23 +00:00
..
fmt std: Stabilize APIs for the 1.7 release 2016-01-16 11:03:10 -08:00
hash std: Stabilize APIs for the 1.7 release 2016-01-16 11:03:10 -08:00
num fix the docs and simplify the implementation of unsigned wrapping ops 2016-01-19 10:47:27 +01:00
prelude Add missing annotations and some tests 2015-11-18 01:24:21 +03:00
str core: Use raw pointers to avoid aliasing in str::split_at_mut 2016-01-21 15:25:49 +01:00
sync Add missing annotations and some tests 2015-11-18 01:24:21 +03:00
any.rs Implement Any for unsized types 2016-01-14 23:02:32 -08:00
array.rs Revert "PR #30130 Implement Clone for more arrays" 2015-12-07 00:29:21 +01:00
borrow.rs Move the Borrow and BorrowMut traits to libcore. 2015-08-22 13:58:39 +02:00
cell.rs Add missing annotations and some tests 2015-11-18 01:24:21 +03:00
char.rs Auto merge of #30624 - Ticki:specialization, r=alexcrichton 2016-01-16 21:38:39 +00:00
clone.rs Make note about traits that can be derived 2015-11-16 18:50:40 -05:00
cmp.rs Remove unsafe code from core::cmp 2016-01-21 20:49:10 +01:00
convert.rs Make {Default, From, FromIterator, One, Zero} well-formed 2015-10-23 21:56:23 -04:00
default.rs libcore: deny warnings in doctests 2015-11-12 05:16:08 +00:00
intrinsics.rs Register new snapshots 2015-12-21 09:26:21 -08:00
iter.rs Fix some broken and missing links in the docs 2016-01-13 23:19:24 +00:00
lib.rs Register new snapshots 2015-12-21 09:26:21 -08:00
macros.rs Correct the documentation of debug_assert_eq 2015-12-29 11:01:35 -05:00
marker.rs Fix spacing style of T: Bound in docs 2016-01-17 23:44:33 +01:00
mem.rs doc: this is more easy to read, and less prone mis-interpretation 2016-01-14 21:38:18 +02:00
nonzero.rs Register new snapshots 2015-12-21 09:26:21 -08:00
ops.rs Auto merge of #30696 - steveklabnik:gh30655, r=brson 2016-01-19 17:34:20 +00:00
option.rs Move cold panic functions in Option and Result 2016-01-22 19:07:11 +01:00
panicking.rs Mark all extern functions as nounwind 2015-09-14 11:36:09 +02:00
ptr.rs Register new snapshots 2015-12-21 09:26:21 -08:00
raw.rs Correct spelling in docs 2015-10-13 09:44:11 -04:00
result.rs Move cold panic functions in Option and Result 2016-01-22 19:07:11 +01:00
slice.rs Auto merge of #30917 - arthurprs:bs_bounds_check, r=alexcrichton 2016-01-22 19:00:15 +00:00
tuple.rs Add missing annotations and some tests 2015-11-18 01:24:21 +03:00