Simplify tag printing
This commit is contained in:
1 parent
3a3cb521ab
commit
d39c05b183
1 file changed
+3
-5
@@ -633,11 +633,9 @@ write_type :: proc(using writer: ^Type_Writer, type: doc.Type, flags: Write_Type
|
||||
do_indent(writer, flags)
|
||||
write_param_entity(writer, e, next_entity, flags, name_width)
|
||||
|
||||
if len(tags) == len(type_entities) {
|
||||
if tag := str(tags[i]); tag != "" {
|
||||
io.write_byte(w, ' ')
|
||||
io.write_quoted_string(w, tag)
|
||||
}
|
||||
if tag := str(tags[i]); tag != "" {
|
||||
io.write_byte(w, ' ')
|
||||
io.write_quoted_string(w, tag)
|
||||
}
|
||||
|
||||
io.write_byte(w, ',')
|
||||
|
||||
Reference in new issue
Block a user