In the docs of the DynamicSupervisor, in the module-based supervisors section it is stated:
....
The @doc annotation immediately preceding use DymamicSupervisor will be attached to the generated child_spec/1 function.
...
However, in the code snippet above this paragraph, there is no @doc-annotation any more. On the line preceding the use DyanmicSupervisor there is however a comment.
So either the snippet needs to be updated, or the paragraph below it.
Which one is correct? 🙂