mirror of
https://github.com/github/semantic.git
synced 2024-12-11 08:45:48 +03:00
Align.
This commit is contained in:
parent
6fe1467956
commit
0246a2e130
@ -145,7 +145,7 @@ diffTOC = map entrySummary . dedupe . tableOfContentsBy declaration
|
||||
-- The user-facing category name
|
||||
toCategoryName :: Declaration -> T.Text
|
||||
toCategoryName declaration = case declaration of
|
||||
FunctionDeclaration{} -> "Function"
|
||||
MethodDeclaration{} -> "Method"
|
||||
FunctionDeclaration{} -> "Function"
|
||||
MethodDeclaration{} -> "Method"
|
||||
HeadingDeclaration _ _ _ _ l -> "Heading " <> T.pack (show l)
|
||||
ErrorDeclaration{} -> "ParseError"
|
||||
ErrorDeclaration{} -> "ParseError"
|
||||
|
Loading…
Reference in New Issue
Block a user