From 45c397d738ac9cbf3d0ea2233142023ca148c893 Mon Sep 17 00:00:00 2001 From: Amol Mundayoor Date: Mon, 23 Feb 2015 13:06:20 -0800 Subject: [PATCH] Fix array syntax in comment. Fixes #22721. --- src/libsyntax/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index b41eb05ded69..550ce3bb8c87 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), - /// A fixed length array (`[T, ..n]`) + /// A fixed length array (`[T; n]`) TyFixedLengthVec(P, P), /// A raw pointer (`*const T` or `*mut T`) TyPtr(MutTy),