diff options
| author | kennytm <kennytm@gmail.com> | 2019-03-16 14:56:50 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2019-03-16 22:40:23 +0800 |
| commit | 6241fb55bacbe1583e4ab47ee5dbb0bee459e1f1 (patch) | |
| tree | 95a2a78abed7928bff60f133d29c2cc54fbd976d /src/libstd | |
| parent | d84e063506537637388a0e4f84d74df4599534e8 (diff) | |
| parent | 266ca31f74ae343fc773b88f3bb77b601034babf (diff) | |
| download | rust-6241fb55bacbe1583e4ab47ee5dbb0bee459e1f1.tar.gz rust-6241fb55bacbe1583e4ab47ee5dbb0bee459e1f1.zip | |
Rollup merge of #59152 - smmalis37:range_contains, r=SimonSapin
Stabilize Range*::contains. Closes https://github.com/rust-lang/rust/issues/32311. There's also a bit of rustfmt on range.rs thrown in for good measure (I forgot to turn off format-on-save in VSCode).
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index b830c90cc43..fc8ac9a0b3e 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -221,7 +221,7 @@ #![cfg_attr(test, feature(print_internals, set_stdio, test, update_panic_count))] #![cfg_attr(all(target_vendor = "fortanix", target_env = "sgx"), - feature(global_asm, range_contains, slice_index_methods, + feature(global_asm, slice_index_methods, decl_macro, coerce_unsized, sgx_platform, ptr_wrapping_offset_from))] // std is implemented with unstable features, many of which are internal |
