(&self, atom: Atom)
| 221 | /// Does this pool contain the given `atom`? |
| 222 | #[inline] |
| 223 | pub fn contains(&self, atom: Atom) -> bool { |
| 224 | atom.index() < self.strings.len() |
| 225 | } |
| 226 | |
| 227 | /// Get the string associated with the given `atom`, if the pool contains |
| 228 | /// the atom. |