Merge issue #14893: Add function annotation example to function tutorial.

Patch by Zachary Ware.