1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-31 20:10:49 +02:00

Added missing import std.stdio...

to make an example compilable.
This commit is contained in:
Mark
2020-01-22 12:16:26 +00:00
committed by GitHub
parent 1eecfded69
commit 75320beb23

View File

@@ -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