-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
fix pad_integral example #85601
fix pad_integral example #85601
Conversation
r? @dtolnay (rust-highfive has picked a reviewer for you, use r? to override) |
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.
Thanks!
@bors r+ rollup |
📌 Commit 7c0db6f has been approved by |
⌛ Testing commit 7c0db6f with merge 7153373026e43ec84b265fc68276bd775bc4eb1b... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
Looks like spurious, @bors retry |
☀️ Test successful - checks-actions |
pad_integral's parameter
is_nonnegative - whether the original integer was either positive or zero
, but in example it checked asself.nb > 0
, so it previously printed-0
forformat!("{}", Foo::new(0)
, what is wrong.