test for sync

This commit is contained in:
Ali MJ Al-Nasrawy 2021-10-20 19:48:12 +03:00
parent ee875d7d54
commit f8128eb028
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ mod tests {
ok::<_, Rc<u8>>(fn_service(|_: Rc<u8>| ok::<_, Rc<u8>>(Rc::new(0u8))))
});
fn is_send<T: Send + Clone>(_: &T) {}
fn is_send<T: Send + Sync + Clone>(_: &T) {}
is_send(&fac_1);
is_send(&map_config(fac_1.clone(), |_: Rc<u8>| Rc::new(0u8)));