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 /src/doc_reform/share/defaults.d | |
parent | reduce use of auto, much with tuples (diff) |
dlang safe default imminent, look ahead
- @safe @trusted & @system, reconsider @trusted
Diffstat (limited to 'src/doc_reform/share/defaults.d')
-rw-r--r-- | src/doc_reform/share/defaults.d | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc_reform/share/defaults.d b/src/doc_reform/share/defaults.d index ee0dbcb..2c3a098 100644 --- a/src/doc_reform/share/defaults.d +++ b/src/doc_reform/share/defaults.d @@ -4,7 +4,7 @@ module doc_reform.share.defaults; template Msg() { import std.stdio; - auto Msg(I)(I doc_matters) { + @safe auto Msg(I)(I doc_matters) { struct Msg_ { void v()(string message) { if (!(doc_matters.opt.action.quiet) && doc_matters.opt.action.verbose) { |