Function
property_set
(
name_map: &'static [(&'static str, &'static [(char, char)])],
canonical: &'static str,
)
Source from the content-addressed store, hash-verified
| 326 | } |
| 327 | |
| 328 | fn property_set( |
| 329 | name_map: &'static [(&'static str, &'static [(char, char)])], |
| 330 | canonical: &'static str, |
| 331 | ) -> Option<&'static [(char, char)]> { |
| 332 | name_map |
| 333 | .binary_search_by_key(&canonical, |x| x.0) |
| 334 | .ok() |
| 335 | .map(|i| name_map[i].1) |
| 336 | } |
| 337 | |
| 338 | /// An iterator over Unicode Age sets. Each item corresponds to a set of |
| 339 | /// codepoints that were added in a particular revision of Unicode. The |
Tested by
no test coverage detected