2 Checks for conversions to owned values just for the sake
6 The comparison can operate on a reference, so creating
7 an owned value effectively throws it away directly afterwards, which is
8 needlessly consuming code and heap space.
12 if x.to_owned() == y {}