-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
Missing panic condition on API docs #623
Comments
Doc improvements are always welcome! It's not a priority for me at the moment. |
More cases : Lines 1311 to 1314 in c96bb1a
Lines 1266 to 1269 in c96bb1a
Lines 239 to 279 in c96bb1a
|
I'd like to defer adding doc for this at the moment, as I'm still running fuzzers, more cases may come out. However, anyone is welcomed to create pr for this. |
For panics that are deliberate, it's probably quickest to just check for |
While I executed fuzzing, I faced some panics by
expect
. Though those are intentional crash, I think it's better to mention on docs as well. Some of APIs are already explicitly mention the panic condition.I'll just list up the panic-condition-missing APIs, without reproduce condition as it's too obvious.
time/time/src/date.rs
Lines 1304 to 1307 in 6248992
time/time/src/duration.rs
Lines 515 to 535 in 6248992
time/time/src/duration.rs
Lines 493 to 513 in 6248992
time/time/src/duration.rs
Lines 441 to 453 in 6248992
The text was updated successfully, but these errors were encountered: