Skip to content

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

Merged
merged 1 commit into from
Nov 28, 2015
Merged

book: miscellaneous improvements to "dining philosophers" example #29651

merged 1 commit into from
Nov 28, 2015

Conversation

tshepang
Copy link
Member

@tshepang tshepang commented Nov 5, 2015

No description provided.

@rust-highfive
Copy link
Contributor

r? @steveklabnik

(rust_highfive has picked a reviewer for you, use r? to override)

println!("{} is done eating.", self.name);
}
println!("{} is done eating.", self.name);
}
```
Copy link
Member

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

Copy link
Member Author

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?

Copy link
Member Author

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?

@steveklabnik
Copy link
Member

I like the last half but not the first half!

@bors
Copy link
Collaborator

bors commented Nov 7, 2015

☔ The latest upstream changes (presumably #29666) made this pull request unmergeable. Please resolve the merge conflicts.

@bors
Copy link
Collaborator

bors commented Nov 19, 2015

☔ The latest upstream changes (presumably #29932) made this pull request unmergeable. Please resolve the merge conflicts.

@steveklabnik
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Nov 28, 2015

📌 Commit 05dde0d has been approved by steveklabnik

bors added a commit that referenced this pull request Nov 28, 2015
@bors
Copy link
Collaborator

bors commented Nov 28, 2015

⌛ Testing commit 05dde0d with merge 0b34243...

@bors bors merged commit 05dde0d into rust-lang:master Nov 28, 2015
@tshepang tshepang deleted the misc branch November 29, 2015 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants