From 288becfea3a0a03ee450e9ad284d44b10bd42732 Mon Sep 17 00:00:00 2001 From: nWacky Date: Mon, 16 Sep 2019 18:26:08 +0300 Subject: [PATCH] Better comment --- actix-http/src/error.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actix-http/src/error.rs b/actix-http/src/error.rs index e1da871da..90c35e486 100644 --- a/actix-http/src/error.rs +++ b/actix-http/src/error.rs @@ -134,7 +134,8 @@ impl std::error::Error for Error { impl From for Error { fn from(_: std::convert::Infallible) -> Self { - // `std::convert::Infallible` should never happen + // `std::convert::Infallible` indicates an error + // that will never happen unreachable!() } }