Fix TypeAnnotation::Tuple comment

This commit is contained in:
Joshua Warner 2022-11-24 14:29:50 -08:00
parent 848c18f996
commit a1432d1a14
No known key found for this signature in database
GPG Key ID: 89AD497003F93FDD

View File

@ -535,8 +535,8 @@ pub enum TypeAnnotation<'a> {
Tuple {
fields: Collection<'a, Loc<TypeAnnotation<'a>>>,
/// The row type variable in an open record, e.g. the `r` in `{ name: Str }r`.
/// This is None if it's a closed record annotation like `{ name: Str }`.
/// The row type variable in an open tuple, e.g. the `r` in `( Str, Str )r`.
/// This is None if it's a closed tuple annotation like `( Str, Str )`.
ext: Option<&'a Loc<TypeAnnotation<'a>>>,
},