Simplifying equality of the instance of
Option
and
Some(x)
.
Before:
option == Some(x) Some(x) != option
After:
option.contains(x) !option.contains(x)