Remove unused compose function.

This commit is contained in:
r-vdp 2023-03-22 17:52:34 +01:00
parent c05f3b9cca
commit fe41f93e82
No known key found for this signature in database

View file

@ -99,11 +99,3 @@ pub fn etc_dir(ephemeral: bool) -> PathBuf {
PathBuf::from("/etc")
}
}
pub fn compose<A, B, C, G, F>(f: F, g: G) -> impl Fn(A) -> C
where
F: Fn(B) -> C,
G: Fn(A) -> B,
{
move |x| f(g(x))
}