Skip to content

Commit 8af6f3a

Browse files
committed
---
yaml --- r: 136630 b: refs/heads/dist-snap c: 72c27ab h: refs/heads/master v: v3
1 parent 0544f27 commit 8af6f3a

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 189b7332968972f34cdbbbd9b62d97ababf53059
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: f95958b526bcbf2e7e70a0f4eca4037bfd579aee
9+
refs/heads/dist-snap: 72c27aba9ca429d7c0a1741a8b63bbc1c8050faf
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/doc/reference.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2851,14 +2851,9 @@ Indices are zero-based, and may be of any integral type. Vector access is
28512851
bounds-checked at run-time. When the check fails, it will put the task in a
28522852
_failing state_.
28532853

2854-
```{.ignore}
2855-
# use std::task;
2856-
# task::spawn(proc() {
2857-
2854+
```{should-fail}
28582855
([1, 2, 3, 4])[0];
28592856
(["a", "b"])[10]; // fails
2860-
2861-
# })
28622857
```
28632858

28642859
### Unary operator expressions

0 commit comments

Comments
 (0)