From 92364e6fb3988fb08ab6a9b7d7c28977fd814097 Mon Sep 17 00:00:00 2001 From: Stjepan Glavina Date: Thu, 23 Jul 2020 12:40:08 +0200 Subject: [PATCH] Clarification --- README.md | 6 +++--- src/lib.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dcf7323..3dce60f 100644 --- a/README.md +++ b/README.md @@ -47,9 +47,9 @@ Look inside the [examples] directory for more. All async libraries work with smol out of the box. -However, [tokio] is a special case due to its generally hostile attitude towards non-tokio -libraries, insistence on non-standard I/O traits, and lack of documentation on integration -with the larger Rust ecosystem. Fortunately, there are ways around it. +However, [tokio] is generally hostile towards non-tokio libraries, insists on non-standard I/O +traits, and deliberately lacks documentation on integration with the larger Rust ecosystem. +Fortunately, there are ways around it. Enable the `tokio02` feature flag and `smol::run()` will create a minimal tokio runtime for its libraries: diff --git a/src/lib.rs b/src/lib.rs index 306e48f..5683e09 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,9 +34,9 @@ //! //! All async libraries work with smol out of the box. //! -//! However, [tokio] is a special case due to its generally hostile attitude towards non-tokio -//! libraries, insistence on non-standard I/O traits, and lack of documentation on integration -//! with the larger Rust ecosystem. Fortunately, there are ways around it. +//! However, [tokio] is generally hostile towards non-tokio libraries, insists on non-standard I/O +//! traits, and deliberately lacks documentation on integration with the larger Rust ecosystem. +//! Fortunately, there are ways around it. //! //! Enable the `tokio02` feature flag and [`smol::run()`][`crate::run()`] will create a minimal //! tokio runtime for its libraries: