[flang-commits] [flang] 38078b2 - [flang][docs] Fix typo in array description (#135908)

via flang-commits flang-commits at lists.llvm.org
Fri Apr 25 08:47:41 PDT 2025


Author: Yang Zaizhou
Date: 2025-04-25T08:47:38-07:00
New Revision: 38078b222f679fd9a6c8407ae78dbccae7cb4012

URL: https://github.com/llvm/llvm-project/commit/38078b222f679fd9a6c8407ae78dbccae7cb4012
DIFF: https://github.com/llvm/llvm-project/commit/38078b222f679fd9a6c8407ae78dbccae7cb4012.diff

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

@klausler I think there's an extra "can" here that should be changed to
"one"

Added: 
    

Modified: 
    flang/docs/FortranForCProgrammers.md

Removed: 
    


################################################################################
diff  --git a/flang/docs/FortranForCProgrammers.md b/flang/docs/FortranForCProgrammers.md
index 50c83ed7e9bfe..135e6b71711d3 100644
--- a/flang/docs/FortranForCProgrammers.md
+++ b/flang/docs/FortranForCProgrammers.md
@@ -127,7 +127,7 @@ where type is not necessary.
 Arrays are not types in Fortran.
 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,
-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.
 Arrays are multidimensional, and the number of dimensions is called
 the _rank_ of the array.


        


More information about the flang-commits mailing list