From a6a6484bf82eb5fb87b2f1382a2569344c3ad499 Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Thu, 1 Jun 2023 13:11:42 -0700 Subject: [PATCH] Refactor: From is unreachable --- src/result.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/result.rs b/src/result.rs index dec3be1e..d8fb4190 100644 --- a/src/result.rs +++ b/src/result.rs @@ -104,7 +104,7 @@ impl From for DateTimeRangeError { impl From for DateTimeRangeError { fn from(_value: Infallible) -> Self { - DateTimeRangeError + unreachable!() } }