diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 140e21b5d04b7..06060cf79f2c4 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1244,7 +1244,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),