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.
This commit is contained in:
Aljoscha Krettek
2020-01-09 12:44:42 -08:00
committed by Carl Lerche
parent a7a79f28a8
commit b34a849b79
+1 -1
View File
@@ -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.