From 43a20d43b09876082e54b550087f166aabdab82d Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Fri, 13 Sep 2024 01:46:53 -0400 Subject: Suggested fixes from Clippy, via nursery and pedantic sets. --- src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/error.rs') 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 From for InternalError where E: Into, { - 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 } } -- cgit v1.2.3