Remove unnecessary as? T in contains

Every element of a T[] is a T.
Merge pull request #35 from zolrath/master

Remove unnecessary as? T in contains