[Chapel Merge] Add note about visitOne with generic functions

Branch: refs/heads/main
Revision: d65c0c548b953b0322fc07d13c1044cb673ca9fe
Author: jabraham17
Link: Add note about visitOne with generic functions by jabraham17 · Pull Request #28987 · chapel-lang/chapel · GitHub
Log Message:
Add note about visitOne with generic functions (#28987)

Add a note about using visitOne with generic functions, since the only
way to pass a generic function is with a functor.

[Reviewed by @bradcray]

Compare: Comparing 6e76f80a676593541f8ee28c0dd5747e7b312245...6a7a3070f469e9584c90970c6cdbbc808a2b75f8 · chapel-lang/chapel · GitHub

Diff:
M modules/internal/ChapelUnion.chpl
https://github.com/chapel-lang/chapel/pull/28987.diff