Fixed newlines in markdown line comments

This commit is contained in:
Alexandros Naskos
2020-06-05 00:19:00 +03:00
parent b0bb8888d3
commit 563c4f0294
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ fn collectDocComments(allocator: *std.mem.Allocator, tree: *ast.Tree, doc_commen
}
}
return try std.mem.join(allocator, "\n", lines.items);
return try std.mem.join(allocator, "\\\n", lines.items);
}
/// Gets a function signature (keywords, name, return value)