Fixed a few places where @docs was causing errors on package.elm-lang.org

This was causing an error on the docs page.

Fixes: https://github.com/elm-lang/core/issues/24