I’m especially interested in the second bound on
F. I’m struggling to find any explanation in the book and reference of why a parameter would appear twice following
where. Why doesn’t this definition use two
FnOnce also a trait here?
pub fn spawn<F, T>(f: F) -> JoinHandle<T> where F: FnOnce() -> T, F: Send + 'static, T: Send + 'static