From 84b721f7969e559c1f93b706cdeb553245074924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 2 Sep 2021 21:25:50 +0200 Subject: [PATCH] try to make clippy happy --- runtime/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/errors.rs b/runtime/errors.rs index 19bf5c3f78..f88455b057 100644 --- a/runtime/errors.rs +++ b/runtime/errors.rs @@ -146,7 +146,7 @@ fn get_nix_error_class(error: &nix::Error) -> &'static str { nix::Error::EPERM => "PermissionDenied", nix::Error::ESRCH => "NotFound", nix::Error::UnknownErrno => "Error", - nix::Error::ENOTSUP => unreachable!(), + &nix::Error::ENOTSUP => unreachable!(), _ => "Error", } }