-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
The contains_label method on the Error type currently uses an iterator to check for the presence of a label. The storage of labels was updated to use a HashSet in RUST-830, so we should update contains_label as well to use HashSet::contains to avoid iterating the entire set.