Fix typo in PR 2791.
Merge pull request #2802 from quickfur/pr2791_fixup

Fix typo in PR 2791.
add example for std.stdio.stdin
Merge pull request #2806 from WalterBright/stdin-ex

add example for std.stdio.stdin