Remove unneeded closure from document
Merge pull request #2455 from darkwing/unneeded-closure

Remove unneeded closure from document