doc: Document mutable function arguments
Merge pull request #4588 from sanxiyn/doc-mut-arg

doc: Document mutable function arguments