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

This commit is contained in:
Remo Senekowitsch
2026-08-29 22:39:33 +03:00
committed by Mo Bitar
parent 579638cd5e
commit 00c1d3aa01
3 changed files with 3 additions and 3 deletions
+1 -1
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
+1 -1
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();
+1 -1
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();