mirror of
https://github.com/actix/actix-web.git
synced 2024-12-30 12:00:38 +00:00
default impl for fork method
This commit is contained in:
parent
29490e6c13
commit
26f472649a
1 changed files with 3 additions and 1 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue