diff options
Diffstat (limited to 'runtime/errors.rs')
-rw-r--r-- | runtime/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/errors.rs b/runtime/errors.rs index 68fae9387..b26fd9fe3 100644 --- a/runtime/errors.rs +++ b/runtime/errors.rs @@ -58,7 +58,7 @@ fn get_io_error_class(error: &io::Error) -> &'static str { WriteZero => "WriteZero", UnexpectedEof => "UnexpectedEof", Other => "Error", - WouldBlock => unreachable!(), + WouldBlock => "WouldBlock", // Non-exhaustive enum - might add new variants // in the future _ => "Error", |