rust/src/libcore/tests
kennytm a2c3713ea6
Rollup merge of #52003 - Kerollmops:option-replace, r=Kimundi
Implement `Option::replace` in the core library

Here is the implementation of the `Option::replace` method. The first step of [the tracking issue #51998](https://github.com/rust-lang/rust/issues/51998).
2018-07-14 02:56:40 +08:00
..
fmt Add hexadecimal formatting of integers with fmt::Debug 2018-03-13 14:53:06 +01:00
hash Make the deprecated unstable SipHasher24 type private. 2018-03-17 11:07:02 +01:00
num Auto merge of #51564 - SimonSapin:try-int, r=alexcrichton 2018-07-03 04:08:02 +00:00
any.rs Move libXtest into libX/tests 2017-04-03 20:49:39 +02:00
array.rs Try to fix array TryFrom tests 2017-09-24 14:54:04 -04:00
ascii.rs Deprecate the AsciiExt trait in favor of inherent methods 2018-03-21 17:54:33 +01:00
atomic.rs std: Be sure to modify atomics in tests 2018-04-09 12:57:03 -07:00
cell.rs Add Ref/RefMut map_split method 2018-06-13 11:35:39 -07:00
char.rs Only escape extended grapheme characters in the first position 2018-05-21 18:57:54 +01:00
clone.rs Move libXtest into libX/tests 2017-04-03 20:49:39 +02:00
cmp.rs Add max and min default fns to Ord trait 2017-06-06 22:42:48 -04:00
intrinsics.rs Move libXtest into libX/tests 2017-04-03 20:49:39 +02:00
iter.rs specialize StepBy<Range(Inclusive)> 2018-06-19 19:33:54 +02:00
lib.rs Add a basic test to Option::replace 2018-07-09 14:50:54 +02:00
mem.rs core: Ensure std::mem::Discriminant is Send + Sync 2017-10-08 01:09:55 +02:00
nonzero.rs Test NonZero in a const item in a pattern. 2018-03-17 23:07:40 +01:00
ops.rs Removed direct field usage of RangeInclusive in rustc itself. 2018-05-01 01:45:18 +08:00
option.rs Add a basic test to Option::replace 2018-07-09 14:50:54 +02:00
pattern.rs Regression tests for #47175 2018-01-06 11:17:12 +05:30
ptr.rs Fix align_offset_stride1 & align_to_simple tests 2018-05-17 23:13:43 +03:00
result.rs Fix ambiguity in Result test 2018-06-01 17:46:19 -04:00
slice.rs Auto merge of #51339 - sdroege:exact-chunks-remainder, r=alexcrichton 2018-07-12 19:39:04 +00:00
str.rs update libcore's comment about str tests 2018-04-30 07:36:56 -04:00
str_lossy.rs Move Utf8Lossy decoder to libcore 2018-04-12 00:13:43 +02:00
time.rs Optimize sum of Durations by using custom function 2018-06-16 20:56:17 +02:00
tuple.rs Move libXtest into libX/tests 2017-04-03 20:49:39 +02:00