1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

try to make clippy happy

This commit is contained in:
Bartek Iwańczuk 2021-09-02 21:25:50 +02:00
parent 37efd2a15b
commit 84b721f796
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

View file

@ -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",
}
}