[flang][docs] Fix typo in array description (#135908)

@klausler I think there's an extra "can" here that should be changed to
"one"
This commit is contained in:
Yang Zaizhou
2025-04-25 23:47:38 +08:00
committed by GitHub
parent 6b3289faeb
commit 38078b222f

View File

@@ -127,7 +127,7 @@ where type is not necessary.
Arrays are not types in Fortran. Arrays are not types in Fortran.
Being an array is a property of an object or function, not of a type. Being an array is a property of an object or function, not of a type.
Unlike C, one cannot have an array of arrays or an array of pointers, Unlike C, one cannot have an array of arrays or an array of pointers,
although can can have an array of a derived type that has arrays or although one can have an array of a derived type that has arrays or
pointers as components. pointers as components.
Arrays are multidimensional, and the number of dimensions is called Arrays are multidimensional, and the number of dimensions is called
the _rank_ of the array. the _rank_ of the array.