3 ms·
You're explicitly choosing to panic if it is None. Would never pass a code review unless you can in very clear terms tell why it will never now or in the future
by Gwypaas 4y ago
You're explicitly choosing to panic if it is None. Would never pass a code review unless you can in very clear terms tell why it will never now or in the future be none.
The point is that you can't use the inner value without choosing a course of action if it happens to be none.