From a5c1a7de0399625792b476666ea1326cb8bcd75c Mon Sep 17 00:00:00 2001 From: ZSL Date: Sat, 16 May 2020 18:41:45 +0800 Subject: sync: document maximum number of permits (#2539) --- tokio/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tokio/src/lib.rs') 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() -- cgit v1.2.3