1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

doc, fmt: use map{key: value} syntax for map literals (#8623)

This commit is contained in:
Nick Treleaven
2021-02-08 14:57:42 +00:00
committed by GitHub
parent 8ae23cd89e
commit 9e751f72c4
15 changed files with 81 additions and 69 deletions

View File

@@ -130,7 +130,7 @@ fn (vd VDoc) render_search_index(out Output) {
}
fn (mut vd VDoc) render_static_html(out Output) {
vd.assets = {
vd.assets = map{
'doc_css': vd.get_resource(css_js_assets[0], out)
'normalize_css': vd.get_resource(css_js_assets[1], out)
'doc_js': vd.get_resource(css_js_assets[2], out)