I'm reading HashMap's get function, but I can't find the type parameter K in the source code.
Why does the K trait bound exist in the where clause, but not in the function signature?
pub fn get<Q: ?Sized>(&self, k: &Q) -> Option<&V>
where K: Borrow<Q>,
Q: Hash + Eq
{
self.search(k).map(|bucket| bucket.into_refs().1)
}