Refer to tokio as "mainstream" instead of "popular"

This commit is contained in:
Remo Senekowitsch 2026-04-25 15:06:27 +02:00
parent db67a3d8c2
commit 5f9718cd2e
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ It is particularly efficient for applications where many independent IO-operatio
Rust provides the necessary primitives to do asynchronous programming in the language. Rust provides the necessary primitives to do asynchronous programming in the language.
However, Rust's standard library does not include a runtime. However, Rust's standard library does not include a runtime.
For these exercises, we will use the popular runtime called `tokio`. For these exercises, we will use the mainstream runtime called `tokio`.
## Further information ## Further information

View File

@ -13,7 +13,7 @@ static CHORES_DONE: AtomicU8 = AtomicU8::new(0);
fn main() { fn main() {
// Async tasks need to be executed by a "runtime", which is not provided by // Async tasks need to be executed by a "runtime", which is not provided by
// Rust's standard library. We use the popular "tokio" runtime here. // Rust's standard library. Here, we use the mainstream runtime `tokio`.
let rt = tokio::runtime::Builder::new_current_thread() let rt = tokio::runtime::Builder::new_current_thread()
.build() .build()
.unwrap(); .unwrap();

View File

@ -13,7 +13,7 @@ static CHORES_DONE: AtomicU8 = AtomicU8::new(0);
fn main() { fn main() {
// Async tasks need to be executed by a "runtime", which is not provided by // Async tasks need to be executed by a "runtime", which is not provided by
// Rust's standard library. We use the popular "tokio" runtime here. // Rust's standard library. Here, we use the mainstream runtime `tokio`.
let rt = tokio::runtime::Builder::new_current_thread() let rt = tokio::runtime::Builder::new_current_thread()
.build() .build()
.unwrap(); .unwrap();