Update traps.md

avoid unneccessary implicity returns