Update lib.rs

pull/891/head
qwer252 7 days ago committed by GitHub
parent d618533000
commit 7d556f310d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8,7 +8,7 @@ impl ThreadPool {
///
/// # Panics
///
/// 如果 size 为 0 `new` 方法会 panic。
/// 如果 size 为 0`new` 方法会 panic。
pub fn new(size: usize) -> ThreadPool {
assert!(size > 0);

Loading…
Cancel
Save