diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2020-01-05 20:17:17 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-02-11 13:08:49 -0500 |
commit | de02319cfa7b4bbff8c111bda02be1a7c6591555 (patch) | |
tree | 732c11d10bc2699cd1b72d00b3be943284eea130 /org/out_metadata.org | |
parent | reduce use of auto, much with tuples (diff) |
dlang safe default imminent, look ahead
- @safe @trusted & @system, reconsider @trusted
Diffstat (limited to 'org/out_metadata.org')
-rw-r--r-- | org/out_metadata.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org/out_metadata.org b/org/out_metadata.org index e8da2c4..3208994 100644 --- a/org/out_metadata.org +++ b/org/out_metadata.org @@ -22,7 +22,7 @@ #+BEGIN_SRC d :tangle "../src/doc_reform/io_out/metadata.d" module doc_reform.io_out.metadata; template outputMetadata() { - void outputMetadata(T)( T doc_matters) @safe { + @safe void outputMetadata(T)( T doc_matters) { <<output_imports>> <<harvested_html_themes>> <<harvested_topics_html_head_1>> @@ -235,7 +235,7 @@ metadata_write_output(doc_matters, metadata_); #+name: output_metadata_write #+BEGIN_SRC d -void metadata_write_output(M)(M doc_matters, string[] metadata_) @trusted { +@safe 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)) { |