diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/Cargo.toml | 2 | ||||
-rw-r--r-- | runtime/ops/process.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index f1d065b16..60f11d703 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -4,7 +4,7 @@ name = "deno_runtime" version = "0.31.0" authors = ["the Deno authors"] -edition = "2018" +edition = "2021" license = "MIT" repository = "https://github.com/denoland/deno" description = "Provides the deno runtime library" 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) } |