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_metadata.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'org/out_metadata.org') diff --git a/org/out_metadata.org b/org/out_metadata.org index 0b20133..e048abd 100644 --- a/org/out_metadata.org +++ b/org/out_metadata.org @@ -26,8 +26,9 @@ #+BEGIN_SRC d <> module doc_reform.io_out.metadata; +@safe: template outputMetadata() { - @safe void outputMetadata(T)( T doc_matters) { + void outputMetadata(T)( T doc_matters) { <> <> <> @@ -274,7 +275,7 @@ metadata_write_output(doc_matters, metadata_); #+NAME: output_metadata_write #+BEGIN_SRC d -@safe void metadata_write_output(M)(M doc_matters, string[] metadata_) { +void metadata_write_output(M)(M doc_matters, string[] metadata_) { auto pth_html = spinePathsHTML!()(doc_matters.output_path, doc_matters.src.language); try { if (!exists(pth_html.base)) { @@ -612,7 +613,7 @@ string theme_light_1 = format(q"┃ #+NAME: curated_html_search #+BEGIN_SRC d -@safe string inline_search_form(M)( +string inline_search_form(M)( M doc_matters, ) { string o; -- cgit v1.2.3