-
Notifications
You must be signed in to change notification settings - Fork 13.3k
book: miscellaneous improvements to "dining philosophers" example #29651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
println!("{} is done eating.", self.name); | ||
} | ||
println!("{} is done eating.", self.name); | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was on purpose, keeping the same indentation as the original example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see indentation of some previous example on this wasn't kept. Should I preserve it as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking again, it's all inconsistent. What's the win with keeping indentation? What should the convention be?
I like the last half but not the first half! |
☔ The latest upstream changes (presumably #29666) made this pull request unmergeable. Please resolve the merge conflicts. |
☔ The latest upstream changes (presumably #29932) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors: r+ |
📌 Commit 05dde0d has been approved by |
No description provided.