Skip to content

Commit b398b46

Browse files
authored
Update dining-philosophers-async.rs (#1346)
Also replace Thales with Hypatia in the async version of Dining Philosophers.
1 parent 18f0ebf commit b398b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exercises/concurrency/dining-philosophers-async.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl Philosopher {
5959
}
6060

6161
static PHILOSOPHERS: &[&str] =
62-
&["Socrates", "Plato", "Aristotle", "Thales", "Pythagoras"];
62+
&["Socrates", "Hypatia", "Plato", "Aristotle", "Pythagoras"];
6363

6464
#[tokio::main]
6565
async fn main() {

0 commit comments

Comments
 (0)