about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmol Mundayoor <amol.com@gmail.com>2015-02-23 13:06:20 -0800
committerSteve Klabnik <steve@steveklabnik.com>2015-03-08 08:39:47 -0400
commit45c397d738ac9cbf3d0ea2233142023ca148c893 (patch)
treee57485fc00b0b02a79169bc30def4920cfbecd85
parent3ad1c8354051174921c04c6b376fc205790f90b7 (diff)
downloadrust-45c397d738ac9cbf3d0ea2233142023ca148c893.tar.gz
rust-45c397d738ac9cbf3d0ea2233142023ca148c893.zip
Fix array syntax in comment.
Fixes #22721.
-rw-r--r--src/libsyntax/ast.rs2
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),