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:
parent
4eebe43f3b
commit
18f0ebf9dc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user