(var: &str, default: usize)
| 2106 | Ok(env) => env, |
| 2107 | Err(e) => { |
| 2108 | return LeanIOResult::error_string(&format!( |
| 2109 | "rs_env_extract: failed to deserialize {path}: {e}" |
| 2110 | )); |
| 2111 | }, |
| 2112 | }; |
| 2113 | // Resolve displayed names → addresses through the full env's `named` |
| 2114 | // metadata (the anon view discards it). Keys and requests both go |
| 2115 | // through `normalize_displayed_name` (Lean `«»`-escaped ↔ Rust bare). |
| 2116 | let by_name: FxHashMap<String, Address> = full |
no test coverage detected