1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-14 22:15:54 +02:00

Update dining-philosophers.rs (#1345)

Replace Thales with Hypatia for slightly more inclusivity.
This commit is contained in:
Nick Radcliffe 2023-10-11 12:34:12 +01:00 committed by GitHub
parent 4eebe43f3b
commit 18f0ebf9dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ impl Philosopher {
} }
static PHILOSOPHERS: &[&str] = static PHILOSOPHERS: &[&str] =
&["Socrates", "Plato", "Aristotle", "Thales", "Pythagoras"]; &["Socrates", "Hypatia", "Plato", "Aristotle", "Pythagoras"];
fn main() { fn main() {
// ANCHOR_END: Philosopher-eat-end // ANCHOR_END: Philosopher-eat-end