diff options
author | ZSL <nova-me@whatsoo.org> | 2020-05-16 18:41:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 12:41:45 +0200 |
commit | a5c1a7de0399625792b476666ea1326cb8bcd75c (patch) | |
tree | d591b36b3e6c4d03b11c60f14b91c95e4ad25a8e /tokio/src/lib.rs | |
parent | a343b1d18002ce3aa306e48c6538bd9e48103e9a (diff) |
sync: document maximum number of permits (#2539)
Diffstat (limited to 'tokio/src/lib.rs')
-rw-r--r-- | tokio/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index fbfffcbf..af7b8da4 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -228,7 +228,7 @@ //! on the number of blocking threads is very large. These limits can be //! configured on the [`Builder`]. //! -//! Two spawn a blocking task, you should use the [`spawn_blocking`] function. +//! To spawn a blocking task, you should use the [`spawn_blocking`] function. //! //! [`Builder`]: crate::runtime::Builder //! [`spawn_blocking`]: crate::task::spawn_blocking() |