I've done this
Merge pull request #69 from pangloss/master

Rule for redundant do inside a when