aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/outputs/io_out/html_snippet.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sisudoc/outputs/io_out/html_snippet.d')
-rw-r--r--src/sisudoc/outputs/io_out/html_snippet.d7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sisudoc/outputs/io_out/html_snippet.d b/src/sisudoc/outputs/io_out/html_snippet.d
index f960cea..462e78a 100644
--- a/src/sisudoc/outputs/io_out/html_snippet.d
+++ b/src/sisudoc/outputs/io_out/html_snippet.d
@@ -49,6 +49,13 @@
+/
module sisudoc.outputs.io_out.html_snippet;
@safe:
+/+ ↓ these are at template scope, so they are visible in every scope this
+ template is mixed into: twelve of them, across the output writers.
+ Removing them leaves one consumer that was relying on the leak rather than
+ on its own imports, and that one now imports what it uses. They stay here
+ because the template's own functions need them, and narrowing them to those
+ functions is a change of its own rather than a cleanup. FIX later.
++/
template htmlSnippet() {
import std.file;
import std.outbuffer;