use ElementType consistently
Merge pull request #2775 from e10s/patch-3

std.range.package: use ElementType consistently