From b34a849b79a425d41c260b08a66a0c7fe55ecdab Mon Sep 17 00:00:00 2001 From: Aljoscha Krettek Date: Thu, 9 Jan 2020 21:44:42 +0100 Subject: [PATCH] docs: fix runtime creation doc in tokio::runtime (#2073) With the rt-threaded feature flag we create a threaded scheduler by default. The documentation had a copy-and-paste error from the section about the basic scheduler. --- tokio/src/runtime/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/runtime/mod.rs b/tokio/src/runtime/mod.rs index 6b8574827..a29f69598 100644 --- a/tokio/src/runtime/mod.rs +++ b/tokio/src/runtime/mod.rs @@ -148,7 +148,7 @@ //! ``` //! //! If the `rt-threaded` feature flag is enabled, [`Runtime::new`] will return a -//! basic scheduler runtime by default. +//! threaded scheduler runtime by default. //! //! Most applications should use the threaded scheduler, except in some niche //! use-cases, such as when running only a single thread is required.