Update function.dd

Fixed typo: "rewrie" -> "rewrite"
Merge pull request #444 from ralphtandetzky/patch-14

Update function.dd