pub fn new(size: u32) -> ThreadPool {
        assert!(size > 0);

        ThreadPool
    }
/// Create a new ThreadPool.
///
/// The size is the number of threads in the pool.
///
/// # Panics
///
/// The `new` function will panic if the size is zero.
Create a new ThreadPool.
The size is the number of threads in the pool.
Create a new ThreadPool . The size is the number of threads in the pool .
pub fn new(size: u32) -> ThreadPool {
        assert!(size > 0);
        ThreadPool
    }
pub fn new ( size : u32 ) -> ThreadPool { assert ! ( size 0 ) ; ThreadPool }
Create a new ThreadPool.
Create a new ThreadPool .
size
u32
size
u32
panics
The `new` function will panic if the size is zero.
The ` new ` function will panic if the size is zero .