about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-02-04 05:36:52 -0500
committerGitHub <noreply@github.com>2025-02-04 05:36:52 -0500
commitd31e137d6ac81a54fa611922b28e9fe1eb64c8c2 (patch)
tree03bce365d4e0661319eff9a29547857987ad4a4b /src
parent648fd0e3efd3d06b12d3e3affe43a31df3f2c13d (diff)
parentf530a29944ff1eba9a146704ba2f13b94331be5d (diff)
downloadrust-d31e137d6ac81a54fa611922b28e9fe1eb64c8c2.tar.gz
rust-d31e137d6ac81a54fa611922b28e9fe1eb64c8c2.zip
Rollup merge of #136167 - pitaj:new_range, r=Nadrieril
Implement unstable `new_range` feature

Switches `a..b`, `a..`, and `a..=b` to resolve to the new range types.

For rust-lang/rfcs#3550
Tracking issue #123741

also adds the re-export that was missed in the original implementation of `new_range_api`
Diffstat (limited to 'src')
-rw-r--r--src/doc/unstable-book/src/language-features/new-range.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/language-features/new-range.md b/src/doc/unstable-book/src/language-features/new-range.md
new file mode 100644
index 00000000000..e7464f31e53
--- /dev/null
+++ b/src/doc/unstable-book/src/language-features/new-range.md
@@ -0,0 +1,9 @@
+# `new_range`
+
+The tracking issue for this feature is: [#123741]
+
+[#123741]: https://github.com/rust-lang/rust/issues/123741
+
+---
+
+Switch the syntaxes `a..`, `a..b`, and `a..=b` to resolve the new range types.