diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/result.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/result.rs b/src/result.rs index 987fc3a..7afceed 100644 --- a/src/result.rs +++ b/src/result.rs @@ -65,6 +65,12 @@ impl<T, E: Error + Send + Sync + 'static> ResultErrorExt<T> for Result<T, E> { } } +impl<T> ResultErrorExt<T> for Result<T, RawUnexpected> { + fn unexpect(self) -> Self { + self + } +} + /// Provides [`Result::unexpect_msg`] /// /// [`Result::unexpect_msg`]: `ResultMsgExt::unexpect_msg` |
