=act fixed typo in scaladoc, and => an

Thanks @geoffjentry for spotting this :-)