rust/src/libcore
bors 6e0dc54872 Auto merge of #43413 - mandeep:ops-generics, r=alexcrichton
Add generic example of std::ops::Sub in doc comments

This PR adds an example of using generics with std::ops::Sub and is a follow up of PR #41612 and is related to issue #29365. I also wanted to add examples to Mul and Div, but I think these two traits are already loaded with examples.
2017-07-24 00:24:16 +00:00
..
benches Use fold to implement Iterator::for_each 2017-06-21 13:22:27 -07:00
fmt Rollup merge of #42837 - rthomas:29355-error, r=steveklabnik 2017-07-18 09:41:29 -06:00
hash std: Cut down #[inline] annotations where not necessary 2017-07-20 12:01:32 -07:00
iter Auto merge of #43416 - tshepang:extra-layer, r=alexcrichton 2017-07-23 13:04:12 +00:00
num std: Cut down #[inline] annotations where not necessary 2017-07-20 12:01:32 -07:00
ops Add generic example of std::ops::Sub in doc comments 2017-07-22 12:48:32 -05:00
prelude Run rustfmt on libcore/prelude folder 2016-10-16 22:13:04 +05:30
slice std: Cut down #[inline] annotations where not necessary 2017-07-20 12:01:32 -07:00
str std: Cut down #[inline] annotations where not necessary 2017-07-20 12:01:32 -07:00
sync core: fix unused_macro warning 2017-05-18 23:33:08 -05:00
tests Add tests for reaching the end of RangeInclusive as an iterator 2017-07-08 08:55:55 +02:00
any.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
array.rs std: Correct stability attributes for some implementations 2016-10-01 23:58:14 +01:00
borrow.rs Update older URLs pointing to the first edition of the Book 2017-06-15 00:04:00 +09:00
Cargo.toml Integrate jobserver support to parallel codegen 2017-06-21 07:16:43 -07:00
cell.rs Correct some stability attributes 2017-07-10 02:07:29 +01:00
char.rs Correct some stability attributes 2017-07-10 02:07:29 +01:00
char_private.rs Reduce a table used for Debug impl of str. 2017-04-05 09:13:19 -07:00
clone.rs Auto merge of #43406 - canndrew:never-impl-clone, r=alexcrichton 2017-07-23 04:25:39 +00:00
cmp.rs std: Cut down #[inline] annotations where not necessary 2017-07-20 12:01:32 -07:00
convert.rs Update older URLs pointing to the first edition of the Book 2017-06-15 00:04:00 +09:00
default.rs Fix "Quasi-quoting is inefficient" warning in incremental rustbuild. 2017-07-18 01:49:40 +08:00
internal_macros.rs Fix a few impl stability attributes 2017-01-29 13:31:47 +00:00
intrinsics.rs Bump version and stage0 compiler 2017-06-19 22:25:05 -07:00
iter_private.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
lib.rs remove associated_consts feature gate 2017-07-06 11:52:25 -07:00
macros.rs Rollup merge of #42670 - dns2utf8:panic_return_code, r=steveklabnik 2017-07-12 06:58:43 -06:00
marker.rs Removed as many "```ignore" as possible. 2017-06-23 15:31:53 +08:00
mem.rs Implement const fn {size,align}_of. 2017-07-19 14:46:54 +03:00
nonzero.rs std: Cut down #[inline] annotations where not necessary 2017-07-20 12:01:32 -07:00
option.rs Adding links to option::Option 2017-05-22 21:59:42 -04:00
panicking.rs Style fix 2017-07-02 13:53:29 +02:00
ptr.rs std: Cut down #[inline] annotations where not necessary 2017-07-20 12:01:32 -07:00
raw.rs Fix up various links 2017-03-20 10:10:16 -04:00
result.rs Simplify FromIterator example of Result 2017-06-09 22:20:32 +02:00
tuple.rs Implement Eq/Hash/Debug etc. for unsized tuples. 2017-07-02 08:41:39 +09:00