Skip to content

Commit 8c20b4a

Browse files
committed
Fix slice types syntax in syntax index
On the branch, in the syntax index, we had notated a slice type so as to include a type and then ellipses, but it's more correct for a slice type to just have a type in the square brackets, so let's do that.
1 parent 258c5c7 commit 8c20b4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/syntax-index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ This appendix provides an index of tokens and common forms with links to where t
234234
| `T: ?Sized` | [relaxed trait bounds] |
235235
| `[Type; len]` | [array types] |
236236
| `(Type, …)` | [tuple types] |
237-
| `[Type, …]` | [slice types] |
237+
| `[Type]` | [slice types] |
238238
| `(Type)` | [parenthesized types] |
239239
| `impl Trait` | [impl trait types], [anonymous type parameters] |
240240
| `dyn Trait` | [trait object types] |

0 commit comments

Comments
 (0)