diff options
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs index 2d512e6..b700eaa 100644 --- a/src/error.rs +++ b/src/error.rs @@ -23,10 +23,10 @@ impl<E> From<E> for InternalError where E: Into<BoxedError>, { - fn from(_: E) -> InternalError { + fn from(_: E) -> Self { // At some point it may be useful for this to record the originating // error so that it can be logged… -oj - InternalError + Self } } |
