Skip to content

Commit e6a1dae

Browse files
committed
Update old to new array notation in comment
1 parent 9adac41 commit e6a1dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/Types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3182,7 +3182,7 @@ DEFINE_EMPTY_CAN_TYPE_WRAPPER(SILBlockStorageType, Type)
31823182

31833183
/// A type with a special syntax that is always sugar for a library type.
31843184
///
3185-
/// The prime examples are arrays (T[] -> Array<T>) and
3185+
/// The prime examples are arrays ([T] -> Array<T>) and
31863186
/// optionals (T? -> Optional<T>).
31873187
class SyntaxSugarType : public TypeBase {
31883188
Type Base;

0 commit comments

Comments
 (0)