1
Fork 0

Removed FIXME comment

This commit is contained in:
David Haig 2019-11-26 00:56:58 +00:00
parent 4b85ee2c05
commit eda2d416f6

View file

@ -302,12 +302,10 @@ impl<O> PanicInfo<O> {
"attempt to calculate the remainder with a divisor of zero",
ResumedAfterReturn(GeneratorKind::Gen) =>
"generator resumed after completion",
// FIXME: Do we want a separate message for each Async variant (Block, Closure, Fn)?
ResumedAfterReturn(GeneratorKind::Async(_)) =>
"`async fn` resumed after completion",
ResumedAfterPanic(GeneratorKind::Gen) =>
"generator resumed after panicking",
// FIXME: Do we want a separate message for each Async variant (Block, Closure, Fn)?
ResumedAfterPanic(GeneratorKind::Async(_)) =>
"`async fn` resumed after panicking",
Panic { .. } | BoundsCheck { .. } =>