aboutsummaryrefslogtreecommitdiff
path: root/src/docs_writer.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2022-01-18 11:03:41 +0000
committerGitHub <noreply@github.com>2022-01-18 11:03:41 +0000
commit841c428273d0b1e0a9f78ac8c0726daab69d7e35 (patch)
treec543fd68d87efce2a36b598e8d376c6f28b48f3c /src/docs_writer.cpp
parent686dbb4421824f17164443b2538b587e91d400a5 (diff)
parent6b830f42b6a8baec77ee0c8d12333ca2ad4a296f (diff)
Merge pull request #1433 from odin-lang/html-docs-printer
Initial Work on HTML Docs Printer
Diffstat (limited to 'src/docs_writer.cpp')
-rw-r--r--src/docs_writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docs_writer.cpp b/src/docs_writer.cpp
index 94b43be99..762a2afe1 100644
--- a/src/docs_writer.cpp
+++ b/src/docs_writer.cpp
@@ -513,7 +513,7 @@ OdinDocTypeIndex odin_doc_type(OdinDocWriter *w, Type *type) {
break;
case Type_Generic:
doc_type.kind = OdinDocType_Generic;
- doc_type.name = odin_doc_write_string(w, type->Generic.name);
+ doc_type.name = odin_doc_write_string(w, type->Generic.entity->token.string);
if (type->Generic.specialized) {
doc_type.types = odin_doc_type_as_slice(w, type->Generic.specialized);
}