(&self, id: GlobalId)
| 516 | |
| 517 | impl<'a> ExprHumanizer for ExprHumanizerExt<'a> { |
| 518 | fn humanize_id(&self, id: GlobalId) -> Option<String> { |
| 519 | match self.items.get(&id) { |
| 520 | Some(item) => item |
| 521 | .humanized_id_parts |
| 522 | .as_ref() |
| 523 | .map(|parts| parts.join(".")), |
| 524 | None => self.inner.humanize_id(id), |
| 525 | } |
| 526 | } |
| 527 | |
| 528 | fn humanize_id_unqualified(&self, id: GlobalId) -> Option<String> { |
| 529 | match self.items.get(&id) { |
no test coverage detected