If you really want to ditch the return here do:

    val it = new Iterator {
    ...
    }
    it