pub fn increment_clone_local( a: u8, exec: impl LocalSpawn + Clone, tx: Sender<u8> )
{
	let second = exec.clone();
	drop( exec );

	let res = second.spawn_local( sum( a, 1, tx ) );

		assert!( res.is_ok() );
}
// gives warning when testing all executors at once.
//
gives warning when testing all executors at once.
gives warning when testing all executors at once .
pub fn increment_clone_local( a: u8, exec: impl LocalSpawn + Clone, tx: Sender<u8> )
{
	let second = exec.clone();
	drop( exec );
	let res = second.spawn_local( sum( a, 1, tx ) );
		assert!( res.is_ok() );
}
pub fn increment_clone_local ( a : u8 , exec : impl LocalSpawn + Clone , tx : Sender < u8 > ) { let second = exec . clone ( ) ; drop ( exec ) ; let res = second . spawn_local ( sum ( a , 1 , tx ) ) ; assert ! ( res is_ok ( ) ) ; }
gives warning when testing all executors at once.
gives warning when testing all executors at once .
a
u8
exec
impl LocalSpawn + Clone
tx
Sender<u8>
a
u8
exec
impl LocalSpawn + Clone
tx
Sender<u8>