aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_metadata.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-03-12 22:39:09 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-03-12 22:56:34 -0400
commite9e17be24eba558c30fcdc41ea5bb9a1da7fd4e7 (patch)
tree1ed3c4b528b0a8e54d0eb9babc391e562578c7b4 /org/out_metadata.org
parentnix flake & env upkeep (diff)
mark modules as @safe: (& identify what is not)
Diffstat (limited to 'org/out_metadata.org')
-rw-r--r--org/out_metadata.org7
1 files changed, 4 insertions, 3 deletions
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
<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.metadata;
+@safe:
template outputMetadata() {
- @safe void outputMetadata(T)( T doc_matters) {
+ void outputMetadata(T)( T doc_matters) {
<<curated_html_search>>
<<output_imports>>
<<curated_html_themes_0>>
@@ -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;