あれ2022/2/26 8:54:00 fn test<T>(closure:T) where T: Fn(u32) -> u32 { assert_eq!(closure(10), 11); } let closure = |x| { x+1 }; test(closure);