[examples] minor stylistic cleanup