aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ocda.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/ocda.org
parentnix flake & env upkeep (diff)
mark modules as @safe: (& identify what is not)
Diffstat (limited to 'org/ocda.org')
-rw-r--r--org/ocda.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/org/ocda.org b/org/ocda.org
index 3a671ca..74c1f64 100644
--- a/org/ocda.org
+++ b/org/ocda.org
@@ -30,6 +30,7 @@ Process markup document, create document abstraction.
// abstraction of sisu markup for downstream processing
// metadoc_from_src.d
module doc_reform.meta.metadoc_from_src;
+@safe:
template docAbstraction() {
<<docInitialize>>
@system auto docAbstraction(CMM,Opt,Mf) (
@@ -1528,7 +1529,7 @@ struct DocHas_ {
return tag_assoc;
}
}
-@safe auto doc_has() {
+auto doc_has() {
return DocHas_();
}
// the doc to be returned