rust/library
bors 6f6919231e Auto merge of #85601 - klensy:padint-example-fix, r=dtolnay
fix pad_integral example

pad_integral's parameter `is_nonnegative - whether the original integer was either positive or zero`, but in example it checked as `self.nb > 0`, so it previously printed `-0` for `format!("{}", Foo::new(0)`, what is wrong.
2021-05-24 10:02:55 +00:00
..
2021-05-02 17:46:00 -06:00
2021-05-12 00:55:03 +02:00
2021-05-12 00:55:03 +02:00