summaryrefslogtreecommitdiff
path: root/runtime/ops
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2022-07-18 22:24:35 +0200
committerGitHub <noreply@github.com>2022-07-18 22:24:35 +0200
commit2bebdc9116f0824f0eb6241445de6fb1925f4c15 (patch)
tree55b2dbe9f7022b7693165b75a97e26cef0c2eb9c /runtime/ops
parent9eb70bdb5fda8e66895e0e4cc1f356c2717f74c5 (diff)
feat(unstable): Ability to ref/unref "Child" in "Deno.spawnChild()" API (#15151)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com> Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'runtime/ops')
-rw-r--r--runtime/ops/spawn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/spawn.rs b/runtime/ops/spawn.rs
index a6930b485..b337f2488 100644
--- a/runtime/ops/spawn.rs
+++ b/runtime/ops/spawn.rs
@@ -76,7 +76,7 @@ pub struct ChildStatus {
signal: Option<String>,
}
-impl TryFrom<std::process::ExitStatus> for ChildStatus {
+impl TryFrom<ExitStatus> for ChildStatus {
type Error = AnyError;
fn try_from(status: ExitStatus) -> Result<Self, Self::Error> {