This commit is contained in:
Adrian Heine 2021-12-26 00:07:34 +01:00
parent fb23353453
commit 426b531e4c
4 changed files with 28 additions and 13 deletions

View file

@ -27,7 +27,10 @@ impl From<usize> for FpmPoolConfig {
impl FpmPoolConfig {
pub fn new(max_children: usize, custom: impl Into<String>) -> Self {
Self { max_children, custom: Some(custom.into()) }
Self {
max_children,
custom: Some(custom.into()),
}
}
}