summaryrefslogtreecommitdiffhomepage
path: root/d.html.markdown
diff options
context:
space:
mode:
authorsarthfrey <sarth.frey@gmail.com>2016-01-25 18:26:23 -0500
committersarthfrey <sarth.frey@gmail.com>2016-01-25 18:26:23 -0500
commit279c28ce7dcc3f155f71c7a073e939630e8f05b6 (patch)
treecd06525da5a4350916143f025b2e5a64a56922aa /d.html.markdown
parent299d064ecf7598144e49ef336e0abd00ccc4ae16 (diff)
parent928edf12092cea82a9eded6848b8d0b0710a977c (diff)
Merge remote-tracking branch 'adambard/master'
# Conflicts: # python.html.markdown
Diffstat (limited to 'd.html.markdown')
-rw-r--r--d.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/d.html.markdown b/d.html.markdown
index 6f88cf84..edb3bff5 100644
--- a/d.html.markdown
+++ b/d.html.markdown
@@ -254,7 +254,7 @@ void main() {
// Use an index, access every array element by reference (because we're
// going to change each element) and just call parallel on the array!
foreach(i, ref elem; parallel(arr)) {
- ref = sqrt(i + 1.0);
+ elem = sqrt(i + 1.0);
}
}
```