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

Improved debug implementation. #109

Merged
merged 1 commit into from Aug 6, 2018
Merged

Improved debug implementation. #109

merged 1 commit into from Aug 6, 2018

Conversation

@thelearnerofcode
Copy link
Contributor

thelearnerofcode commented Aug 5, 2018

Before SmallVec would use "{:?}" style debug info no matter what the programmer specified. This pull request makes it much more inline with what Vec does by replacing the previous implementation with DebugList.

See: https://doc.rust-lang.org/std/fmt/struct.Formatter.html#method.debug_list


This change is Reviewable

@mbrubeck
Copy link
Contributor

mbrubeck commented Aug 6, 2018

@bors-servo r+

Thank you!

@bors-servo
Copy link
Contributor

bors-servo commented Aug 6, 2018

📌 Commit 7cd1aec has been approved by mbrubeck

@bors-servo
Copy link
Contributor

bors-servo commented Aug 6, 2018

Testing commit 7cd1aec with merge 54d565f...

bors-servo added a commit that referenced this pull request Aug 6, 2018
Improved debug implementation.

Before SmallVec would use "{:?}" style debug info no matter what the programmer specified. This pull request makes it much more inline with what Vec does by replacing the previous implementation with DebugList.

See: [https://doc.rust-lang.org/std/fmt/struct.Formatter.html#method.debug_list](https://doc.rust-lang.org/std/fmt/struct.Formatter.html#method.debug_list)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/109)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 6, 2018

☀️ Test successful - status-travis
Approved by: mbrubeck
Pushing 54d565f to master...

@bors-servo bors-servo merged commit 7cd1aec into servo:master Aug 6, 2018
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
mbrubeck added a commit to mbrubeck/rust-smallvec that referenced this pull request Aug 6, 2018
Change log:

* Extend the `smallvec!` macro to work with non-`Copy` items (servo#107)
* Improve the `Debug` formatting implementation (servo#109)
@mbrubeck mbrubeck mentioned this pull request Aug 6, 2018
bors-servo added a commit that referenced this pull request Aug 6, 2018
Version 0.6.4

Change log:

* Extend the `smallvec!` macro to work with non-`Copy` items (#107)
* Improve the `Debug` formatting implementation (#109)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/110)
<!-- Reviewable:end -->
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

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