1
0
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:
Nick Radcliffe 2023-10-11 12:35:08 +01:00 committed by GitHub
parent 18f0ebf9dc
commit b398b46a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ impl Philosopher {
}
static PHILOSOPHERS: &[&str] =
&["Socrates", "Plato", "Aristotle", "Thales", "Pythagoras"];
&["Socrates", "Hypatia", "Plato", "Aristotle", "Pythagoras"];
#[tokio::main]
async fn main() {