mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-18 20:39:35 +02:00
Update dining-philosophers-async.rs (#1346)
Also replace Thales with Hypatia in the async version of Dining Philosophers.
This commit is contained in:
parent
18f0ebf9dc
commit
b398b46a10
@ -59,7 +59,7 @@ impl Philosopher {
|
||||
}
|
||||
|
||||
static PHILOSOPHERS: &[&str] =
|
||||
&["Socrates", "Plato", "Aristotle", "Thales", "Pythagoras"];
|
||||
&["Socrates", "Hypatia", "Plato", "Aristotle", "Pythagoras"];
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
|
Loading…
Reference in New Issue
Block a user