usestd::hash::{DefaultHasher, Hash, Hasher};/* Hash for a group key. Match/join indexing now belongs to the common join
operator, so this is the only index helper this family still needs. */pub(super)fnkey_hash<K: Hash>(key:&K)->u64{letmut hasher =DefaultHasher::new();
key.hash(&mut hasher);
hasher.finish()}