(key: &str)
| 74 | const SLUG_OVERRIDES: &[(&str, &str)] = &[("amazon", "bedrock")]; |
| 75 | |
| 76 | fn slug_override(key: &str) -> Option<&'static str> { |
| 77 | SLUG_OVERRIDES |
| 78 | .iter() |
| 79 | .find(|(k, _)| *k == key) |
| 80 | .map(|(_, v)| *v) |
| 81 | } |
| 82 | |
| 83 | // --------------------------------------------------------------------------- |
| 84 | // apply_caching |
no test coverage detected