The second line has to be wrapped in `Some(...)` - but other than that I see no obvious reason to not use your solution.