opaque.rs 301 B

12345678910
  1. /// Fast hash map used internally.
  2. type FastHashMap<K, V> =
  3. std::collections::HashMap<K, V, std::hash::BuildHasherDefault<std::collections::hash_map::DefaultHasher>>;
  4. pub type Foo = FastHashMap<i32, i32>;
  5. pub type Bar = Result<Foo, ()>;
  6. #[no_mangle]
  7. pub extern "C" fn root(a: &Foo, b: &Bar) {}