mirror of
https://github.com/denoland/deno.git
synced 2025-03-09 21:57:40 -04:00
try to make clippy happy
This commit is contained in:
parent
37efd2a15b
commit
84b721f796
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ fn get_nix_error_class(error: &nix::Error) -> &'static str {
|
||||||
nix::Error::EPERM => "PermissionDenied",
|
nix::Error::EPERM => "PermissionDenied",
|
||||||
nix::Error::ESRCH => "NotFound",
|
nix::Error::ESRCH => "NotFound",
|
||||||
nix::Error::UnknownErrno => "Error",
|
nix::Error::UnknownErrno => "Error",
|
||||||
nix::Error::ENOTSUP => unreachable!(),
|
&nix::Error::ENOTSUP => unreachable!(),
|
||||||
_ => "Error",
|
_ => "Error",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue