mul/src/dictionary.rs

7 lines
133 B
Rust

use std::collections::HashMap;
use crate::syntax::Name;
/// Mapping of names to some T.
pub type Dictionary<T> = HashMap<Name, T>;