Fix array syntax in comment.

Fixes #22721.
This commit is contained in:
Amol Mundayoor 2015-02-23 13:06:20 -08:00 committed by Steve Klabnik
parent 3ad1c83540
commit 45c397d738

View file

@ -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),