Skip to content
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

Add Debug derivation to structs of the example in README.md #191

Merged
merged 1 commit into from Jul 7, 2017

Conversation

@nelsonjchen
Copy link
Contributor

nelsonjchen commented Jul 7, 2017

The assert_eq! macro expects its arguments to satisfy the Debug trait as if and when it panics, it'll print out the Debug representation.

The `assert_eq!` macro expects its arguments to satisfy the `Debug` trait as if and when it panics, it'll print out the `Debug` representation.
@nelsonjchen
Copy link
Contributor Author

nelsonjchen commented Jul 7, 2017

I guess this further completes the work in #187 which edited the example fully, but only a part of the README's copy.

@TyOverby
Copy link
Collaborator

TyOverby commented Jul 7, 2017

Oh thank you!

@TyOverby TyOverby merged commit 8342d1d into servo:master Jul 7, 2017
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@nelsonjchen nelsonjchen deleted the nelsonjchen:patch-2 branch Jul 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.