From 67452152c2b833599219d1d7100a7df55ac7941d Mon Sep 17 00:00:00 2001 From: Richard Huang Date: Mon, 24 Jan 2022 21:52:16 -0800 Subject: [PATCH] Fix spawing -> spawning typo --- lib/src/action.rs | 2 +- lib/src/command/supervisor.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/action.rs b/lib/src/action.rs index 5a9d574..a3da0a6 100644 --- a/lib/src/action.rs +++ b/lib/src/action.rs @@ -216,7 +216,7 @@ async fn apply_outcome( .map_err(|_| RuntimeError::HandlerLockHeld("pre-spawn"))? .into_inner(); - trace!("spawing supervisor for command"); + trace!("spawning supervisor for command"); let sup = Supervisor::spawn( errors_c.clone(), events_c.clone(), diff --git a/lib/src/command/supervisor.rs b/lib/src/command/supervisor.rs index 4c696cd..f0418ea 100644 --- a/lib/src/command/supervisor.rs +++ b/lib/src/command/supervisor.rs @@ -60,7 +60,7 @@ impl Supervisor { debug!(%grouped, ?command, "spawning command"); let (process, id) = if grouped { let proc = command.group_spawn().map_err(|err| RuntimeError::IoError { - about: "spawing process group", + about: "spawning process group", err, })?; let id = proc.id().ok_or(RuntimeError::ProcessDeadOnArrival)?;