diff options
| author | Amol Mundayoor <amol.com@gmail.com> | 2015-02-23 13:06:20 -0800 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-03-08 08:39:47 -0400 |
| commit | 45c397d738ac9cbf3d0ea2233142023ca148c893 (patch) | |
| tree | e57485fc00b0b02a79169bc30def4920cfbecd85 | |
| parent | 3ad1c8354051174921c04c6b376fc205790f90b7 (diff) | |
| download | rust-45c397d738ac9cbf3d0ea2233142023ca148c893.tar.gz rust-45c397d738ac9cbf3d0ea2233142023ca148c893.zip | |
Fix array syntax in comment.
Fixes #22721.
| -rw-r--r-- | src/libsyntax/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index b41eb05ded6..550ce3bb8c8 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1264,7 +1264,7 @@ pub struct BareFnTy { /// The different kinds of types recognized by the compiler pub enum Ty_ { TyVec(P<Ty>), - /// A fixed length array (`[T, ..n]`) + /// A fixed length array (`[T; n]`) TyFixedLengthVec(P<Ty>, P<Expr>), /// A raw pointer (`*const T` or `*mut T`) TyPtr(MutTy), |
