Remove unused compose function.
This commit is contained in:
parent
c05f3b9cca
commit
fe41f93e82
1 changed files with 0 additions and 8 deletions
|
|
@ -99,11 +99,3 @@ pub fn etc_dir(ephemeral: bool) -> PathBuf {
|
||||||
PathBuf::from("/etc")
|
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))
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue