about summary refs log tree commit diff
path: root/src/doc/unstable-book
diff options
context:
space:
mode:
authordylni <46035563+dylni@users.noreply.github.com>2020-09-18 12:17:51 -0400
committerdylni <46035563+dylni@users.noreply.github.com>2020-09-18 12:17:51 -0400
commit1ff7da6551a7cdf6ace2a9d00e92bbab550334ee (patch)
tree83dfb35cedd5a32e6044bfb12c03d38a907b5b00 /src/doc/unstable-book
parent2c69266c0697b0c0b34abea62cba1a1d3c59c90c (diff)
downloadrust-1ff7da6551a7cdf6ace2a9d00e92bbab550334ee.tar.gz
rust-1ff7da6551a7cdf6ace2a9d00e92bbab550334ee.zip
Move `slice::check_range` to `RangeBounds`
Diffstat (limited to 'src/doc/unstable-book')
-rw-r--r--src/doc/unstable-book/src/library-features/range-bounds-for-length.md10
-rw-r--r--src/doc/unstable-book/src/library-features/slice-check-range.md10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/doc/unstable-book/src/library-features/range-bounds-for-length.md b/src/doc/unstable-book/src/library-features/range-bounds-for-length.md
new file mode 100644
index 00000000000..47a1bd8dff1
--- /dev/null
+++ b/src/doc/unstable-book/src/library-features/range-bounds-for-length.md
@@ -0,0 +1,10 @@
+# `range_bounds_for_length`
+
+The tracking issue for this feature is: [#76393]
+
+------------------------
+
+This adds [`RangeBounds::for_length`].
+
+[#76393]: https://github.com/rust-lang/rust/issues/76393
+[`RangeBounds::for_length`]: https://doc.rust-lang.org/nightly/std/ops/trait.RangeBounds.html#method.for_length
diff --git a/src/doc/unstable-book/src/library-features/slice-check-range.md b/src/doc/unstable-book/src/library-features/slice-check-range.md
deleted file mode 100644
index 83e5738cf54..00000000000
--- a/src/doc/unstable-book/src/library-features/slice-check-range.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# `slice_check_range`
-
-The tracking issue for this feature is: [#76393]
-
-------------------------
-
-This adds [`slice::check_range`].
-
-[#76393]: https://github.com/rust-lang/rust/issues/76393
-[`slice::check_range`]: https://doc.rust-lang.org/nightly/std/primitive.slice.html#method.check_range