diff options
| author | kennytm <kennytm@gmail.com> | 2018-01-28 03:19:29 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-03-15 16:58:02 +0800 |
| commit | 92d1f8d8e4be62e6f4dc32bc57f9d44f53117ec9 (patch) | |
| tree | 61eeb58e84dcb4a8e85640fd50e1ad04e6c017ea /src/doc | |
| parent | b5913f2e7695ad247078619bf4c6a6d3dc4dece5 (diff) | |
| download | rust-92d1f8d8e4be62e6f4dc32bc57f9d44f53117ec9.tar.gz rust-92d1f8d8e4be62e6f4dc32bc57f9d44f53117ec9.zip | |
Stabilize `inclusive_range_syntax` language feature.
Stabilize the syntax `a..=b` and `..=b`.
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/unstable-book/src/language-features/inclusive-range-syntax.md | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/doc/unstable-book/src/language-features/inclusive-range-syntax.md b/src/doc/unstable-book/src/language-features/inclusive-range-syntax.md deleted file mode 100644 index 56f58803150..00000000000 --- a/src/doc/unstable-book/src/language-features/inclusive-range-syntax.md +++ /dev/null @@ -1,20 +0,0 @@ -# `inclusive_range_syntax` - -The tracking issue for this feature is: [#28237] - -[#28237]: https://github.com/rust-lang/rust/issues/28237 - ------------------------- - -To get a range that goes from 0 to 10 and includes the value 10, you -can write `0..=10`: - -```rust -#![feature(inclusive_range_syntax)] - -fn main() { - for i in 0..=10 { - println!("{}", i); - } -} -``` |
