We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c5bf5 commit 9e09350Copy full SHA for 9e09350
RegistryProcessor/src/Main.hs
@@ -396,9 +396,12 @@ showComment name sigElem
396
397
isInteresting = DM.isJust (arrayLength sigElem) || DM.isJust (belongsToGroup sigElem)
398
399
- elms | numPointer sigElem > 0 = " pointing to" ++ len ++ " elements"
+ elms | numPointer sigElem > 0 = " pointing to" ++ len ++ " " ++ elements
400
| otherwise = ""
401
402
+ elements | arrayLength sigElem == Just "1" = "element"
403
+ | otherwise = "elements"
404
+
405
len = maybe "" (\l -> " " ++ inlineCode l) (arrayLength sigElem)
406
407
base = maybeDeref . maybeSetBaseType
0 commit comments