Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed May 1, 2015
1 parent 4c26788 commit e0c95c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/readdoubles2.d
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void main()
auto sample = File("10numbers.txt")
.byLine
.takeExactly(10)
.map!(line => parse!double(line))
.map!(line => line.parse!double)
.tee!((x){mean += x;})
.array;
mean /= sample.length;
Expand Down

0 comments on commit e0c95c6

Please sign in to comment.