diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-11-02 15:03:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-02 10:03:37 -0400 |
commit | 8e31bbbe551e95a40a78fd96671916f917218b93 (patch) | |
tree | f11c7b387b1d9c10898d6a67f37afcafea750d40 /runtime/ops/process.rs | |
parent | 70336912b4307ac218426a3f5ce938bd8fb7dbb5 (diff) |
chore: update to Rust edition 2021 (#12578)
Diffstat (limited to 'runtime/ops/process.rs')
-rw-r--r-- | runtime/ops/process.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs index 833b1822c..0324cb599 100644 --- a/runtime/ops/process.rs +++ b/runtime/ops/process.rs @@ -261,7 +261,6 @@ pub fn kill(pid: i32, signal: &str) -> Result<(), AnyError> { let signo = super::signal::signal_str_to_int(signal)?; use nix::sys::signal::{kill as unix_kill, Signal}; use nix::unistd::Pid; - use std::convert::TryFrom; let sig = Signal::try_from(signo)?; unix_kill(Pid::from_raw(pid), Option::Some(sig)).map_err(AnyError::from) } |