How to disable a particular compiler warning? (@doc on private function)

This has been discussed before:

I’d also like an official way to document private functions but in the meantime I tend to do this (as it makes it easy to preserve docs when making public functions private):

#@doc "This private function does X because Y"

2 Likes