Document panic in RangeInclusive::from(legacy::RangeInclusive)#155421
Document panic in RangeInclusive::from(legacy::RangeInclusive)#155421tbu- wants to merge 1 commit intorust-lang:mainfrom
RangeInclusive::from(legacy::RangeInclusive)#155421Conversation
|
r? @jhpratt rustbot has assigned @jhpratt. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Has this been approved by T-libs-api? The panic message clearly says unspecified, so adding this documentation would overrule that. |
|
If T-libs doesn't want to guarantee this, I can change the wording to "currently panics, may not panic in the future". Or even "may panic". |
This comment has been minimized.
This comment has been minimized.
766773c to
f43e3e7
Compare
This comment has been minimized.
This comment has been minimized.
|
ping @tbu-, CI is failing. You need to add |
f43e3e7 to
73b9155
Compare
This comment has been minimized.
This comment has been minimized.
73b9155 to
70df721
Compare
|
Thanks for the ping, @Amanieu. I somehow forgot about this PR. |
This comment has been minimized.
This comment has been minimized.
70df721 to
6502d57
Compare
This comment has been minimized.
This comment has been minimized.
6502d57 to
5a00cc6
Compare
|
Note: The current status of the PR adds a new stable guarantee that the conversion will panic for an exhausted iterator. |
No description provided.