(&self, value: &str)
| 670 | } |
| 671 | |
| 672 | fn contains(&self, value: &str) -> bool { |
| 673 | match self { |
| 674 | ScalarStringLookup::Set(set) => set.contains(value), |
| 675 | ScalarStringLookup::List(list) => list.contains(&Some(value)), |
| 676 | } |
| 677 | } |
| 678 | } |
| 679 | |
| 680 | /// Inner implementation of the string scalar fast path, generic over string |
no outgoing calls