-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Document the optional extra arguments to assert_eq!() / assert_ne!() #38247
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
Document the optional extra arguments to assert_eq!() / assert_ne!() #38247
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Apparently the extra arguments got added in 1.11.0. Do the docs need to mention this? I don't know the convention for documenting new features that only work starting at a certain version. |
They do not. In general, docs should not mention version numbers.
|
Oh, ok - then I guess the changes are complete :) |
@federicomenaquintero do you have time to rebase? if not, I can do it, but you'll need to close this PR and I'll issue a new one |
And clarify that those arguments in assert!() are in fact formattable.
I've pushed a rebased version to the same branch. |
Thanks! @bors: r+ rollup |
📌 Commit ff5ba73 has been approved by |
⌛ Testing commit ff5ba73 with merge 457b6f3... |
💔 Test failed - status-travis |
… On Mon, Jan 16, 2017 at 7:46 AM, bors ***@***.***> wrote:
💔 Test failed - status-travis
<https://travis-ci.org/rust-lang/rust/builds/192394522>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#38247 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAD95NPqXIO5sYTM7LghPc3xAdJXBAnZks5rS5C7gaJpZM4LIRue>
.
|
…ment-docs, r=GuillaumeGomez Document the optional extra arguments to assert_eq!() / assert_ne!() And clarify that those arguments in assert!() are in fact formattable.
And clarify that those arguments in assert!() are in fact formattable.