summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2019-03-16 14:56:50 +0800
committerkennytm <kennytm@gmail.com>2019-03-16 22:40:23 +0800
commit6241fb55bacbe1583e4ab47ee5dbb0bee459e1f1 (patch)
tree95a2a78abed7928bff60f133d29c2cc54fbd976d /src/libstd/lib.rs
parentd84e063506537637388a0e4f84d74df4599534e8 (diff)
parent266ca31f74ae343fc773b88f3bb77b601034babf (diff)
downloadrust-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/lib.rs')
-rw-r--r--src/libstd/lib.rs2
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