Fix syntax error in code sample.

Block parameter list goes after `do`.