diff --git a/src/server_config.rs b/src/server_config.rs index 199f7123..0d333c01 100644 --- a/src/server_config.rs +++ b/src/server_config.rs @@ -2,7 +2,9 @@ use std::sync::{atomic::AtomicUsize, Arc}; pub trait Config: Send + Clone + Default + 'static { - fn fork(&self) -> Self; + fn fork(&self) -> Self { + self.clone() + } } #[derive(Clone, Default)]