thread::spawn is used with an empty block of code, but never used again afterwards.
The short multithreading chapter is not really introducing multithreading, but just there to find the sleep function.
This should be renamed and reworded to avoid the unused spawn
thread::spawnis used with an empty block of code, but never used again afterwards.The short multithreading chapter is not really introducing multithreading, but just there to find the sleep function.
This should be renamed and reworded to avoid the unused
spawn