rust/src/libcore
Manish Goregaokar 6234610252 Rollup merge of #35058 - jethrogb:no_panic_abs, r=alexcrichton
Add non-panicking abs() functions to all signed integer types.

Currently, calling abs() on one of the signed integer types might panic (in
debug mode at least) because the absolute value of the largest negative value
can not be represented in that signed type. Unlike all other integer
operations, there is currently not a non-panicking version on this function.
This seems to just be an oversight in the design, therefore just adding it now.
2016-07-30 13:44:46 +05:30
..
fmt Rename char::escape to char::escape_debug and add tracking issue 2016-07-28 02:20:49 +02:00
hash Add BuildHasher example 2016-07-22 16:38:16 +02:00
iter Rollup merge of #34732 - durka:patch-27, r=steveklabnik 2016-07-26 17:21:11 -04:00
num Add non-panicking abs() functions to all signed integer types. 2016-07-28 09:05:43 -07:00
prelude
str Add documentation example for str::Chars::as_str. 2016-07-28 08:54:48 -04:00
sync atomic doc: fix statement 2016-06-02 19:36:10 +02:00
any.rs Improve std::any module doc 2016-07-10 19:41:50 +02:00
array.rs
borrow.rs
Cargo.toml No build.rs for libcore 2016-06-04 15:10:26 -07:00
cell.rs Add missing examples for std::cell types 2016-07-11 17:13:36 +02:00
char_private.rs Escape fewer Unicode codepoints in Debug impl of str 2016-07-23 00:18:44 +02:00
char.rs Rename char::escape to char::escape_debug and add tracking issue 2016-07-28 02:20:49 +02:00
clone.rs Prefer ClassName over Self in example trait implementations 2016-05-23 13:14:15 -04:00
cmp.rs Complete PartialOrd's example so it passes make check-docs 2016-05-23 14:39:41 -04:00
convert.rs Implement RFC 1542 2016-05-07 08:52:41 -07:00
default.rs Move all Default docs from module to trait 2016-05-23 13:47:28 -04:00
intrinsics.rs Rollup merge of #34609 - ubsan:transmute_docs, r=steveklabnik 2016-07-26 17:21:11 -04:00
iter_private.rs specialize zip: Introduce TrustedRandomAccess trait 2016-06-14 15:50:49 +02:00
lib.rs Fix indentation in src/libcore/lib.rs 2016-07-23 00:18:44 +02:00
macros.rs Mention debug_assert! in assert! doc 2016-07-27 15:16:11 -04:00
marker.rs Reorder Copy doc sections 2016-05-23 10:03:44 -04:00
mem.rs Support 16-bit pointers as well as i/usize 2016-05-19 13:55:13 -04:00
nonzero.rs
ops.rs Stabilize FnOnce::Output + Fix rebase 2016-07-08 13:35:17 +03:00
option.rs core: impl From<T> for Option<T> 2016-07-20 15:54:54 -07:00
panicking.rs
ptr.rs Implement traits for variadic function pointers 2016-07-17 10:21:07 +03:00
raw.rs std: Clean out old unstable + deprecated APIs 2016-05-30 20:46:32 -07:00
result.rs Improve code example for try! 2016-06-29 01:13:03 +02:00
slice.rs Indicate where std::slice structs originate from. 2016-07-17 09:16:47 -04:00
tuple.rs