Credence.Semantic.NoDocOnPrivateFunction (credence v0.8.0)

Copy Markdown

Fixes compiler warnings about @doc on private functions.

The Elixir compiler always discards @doc attributes on defp/defmacrop/ typep with a warning. Under --warnings-as-errors, this blocks compilation.

The fix strips the @doc attribute — output-identical since the compiler already ignores it.