Function compose_two

Source
pub fn compose_two<A, B, C, G, F>(f: F, g: G) -> impl Fn(A) -> C
where F: Fn(A) -> B, G: Fn(B) -> C,