Two changes in example text

corrected function decl & removed an empty comment
Merge pull request #8 from Matt--/patch-6

Two changes in example text