Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammedgqudah committed Oct 2, 2024
1 parent 5e1f963 commit c1e64c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions http/src/threadpool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub struct ThreadPool {
impl ThreadPool {
/// # Panics
///
/// Panics if a threaded couldn't be spawned.
/// Panics if a thread cannot be spawned.
#[must_use]
pub fn new(count: usize) -> ThreadPool {
let mut workers = Vec::with_capacity(count);
Expand Down Expand Up @@ -56,7 +56,7 @@ impl ThreadPool {

/// # Errors
///
/// Errors if the job could not be sent to the mpsc channel.
/// Errors if the job cannot be sent to the mpsc channel.
///
/// # Panics
///
Expand Down

0 comments on commit c1e64c1

Please sign in to comment.