Skip to content

Commit

Permalink
Stylized ThreadPool::drop() docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
arindas committed Oct 17, 2021
1 parent be12cf8 commit 9947828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/threadpool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ where
Req: Send + Debug + 'static,
Res: Send + Debug + 'static,
{
/// Invokes terminate()
/// Invokes `terminate()`
fn drop(&mut self) {
self.terminate().unwrap()
}
Expand Down

0 comments on commit 9947828

Please sign in to comment.