From e9e17be24eba558c30fcdc41ea5bb9a1da7fd4e7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 12 Mar 2024 22:39:09 -0400 Subject: mark modules as @safe: (& identify what is not) --- org/out_xmls_css.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'org/out_xmls_css.org') diff --git a/org/out_xmls_css.org b/org/out_xmls_css.org index 2cb6978..9e0d10a 100644 --- a/org/out_xmls_css.org +++ b/org/out_xmls_css.org @@ -29,9 +29,10 @@ default css settings +/ module doc_reform.io_out.xmls_css; +@safe: template spineCss() { import std.format; - @safe auto spineCss(M)(M doc_matters) { + auto spineCss(M)(M doc_matters) { <> <> string _css_light_html_seg = format(q"┃ @@ -148,7 +149,7 @@ template spineCss() { _css_indent, _color_ocn_dark, ); - @safe auto css_() { + auto css_() { struct _CSS { string html_seg = "/* spine css html seg stylesheet */\n"; string html_scroll = "/* spine css html scroll stylesheet */\n"; -- cgit v1.2.3