-
Notifications
You must be signed in to change notification settings - Fork 296
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
Itertools::format[_with]
docs mention panic within logging macro
#941
base: master
Are you sure you want to change the base?
Itertools::format[_with]
docs mention panic within logging macro
#941
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #941 +/- ##
==========================================
+ Coverage 94.38% 94.44% +0.05%
==========================================
Files 48 49 +1
Lines 6665 7002 +337
==========================================
+ Hits 6291 6613 +322
- Misses 374 389 +15 ☔ View full report in Codecov by Sentry. |
@Veetaha Does it seem enough to you? |
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.
LGTM, thanks!
src/lib.rs
Outdated
@@ -2319,6 +2319,8 @@ pub trait Itertools: Iterator { | |||
/// with `sep` inserted between each element. | |||
/// | |||
/// **Panics** if the formatter helper is formatted more than once. | |||
/// ⚠ This can happen discreetly and be hard to debug if used in |
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.
I'm no native speaker, but my translation app says "discreetly" means "unaufdringlich" (something like understated, unobtrusively). Wouldn't "unexpectedly" be simpler and more to the point?
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.
I'm no native speaker either, it seemed appropriate to me but I might be plain wrong.
I have no issue with "unexpectedly".
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.
Done
0e90cea
to
86b586f
Compare
@phimuemue CI of recent #943 was unexpectedly long too (20 minutes more) and I don't know why. |
Did we ever think about requiring |
No idea why CI takes so long. I skimmed the individual steps, and they seem to add up to something around 3 minutes. Maybe an infrastructure issue on Github's side? |
#307 mentions adding a About CI, I don't know what it is. I looked at the log, saw a link about curl 8.0 (in rust 1.71) having time issues but it does not seem relevant to us (being at rust 1.78). |
Closes #667 and maybe #307.
I merely update the docs of
Itertools::format[_with]
, reformulations are welcome: