summaryrefslogtreecommitdiffhomepage
path: root/d.html.markdown
diff options
context:
space:
mode:
authorMark <mark@qtrac.eu>2020-01-22 12:16:26 +0000
committerGitHub <noreply@github.com>2020-01-22 12:16:26 +0000
commit75320beb234e3321e76b04010b292e343cf26f6d (patch)
tree34d99ed6e3a0741b036a18e1940723a284f7b01f /d.html.markdown
parent1eecfded69cf0e92b7483ded18d4b2b830f37b47 (diff)
Added missing import std.stdio...
to make an example compilable.
Diffstat (limited to 'd.html.markdown')
-rw-r--r--d.html.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/d.html.markdown b/d.html.markdown
index d2a57cae..93c08da2 100644
--- a/d.html.markdown
+++ b/d.html.markdown
@@ -212,6 +212,7 @@ found in the wonderful `std.algorithm` module!
```d
import std.algorithm : map, filter, reduce;
import std.range : iota; // builds an end-exclusive range
+import std.stdio;
void main() {
// We want to print the sum of a list of squares of even ints