From 64ae37618b94cdf3bba885e839975abeb44f0ae4 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Wed, 15 Apr 2026 19:18:16 -0700 Subject: [PATCH] runc: fix 'occured' -> 'occurred' in error display strings Two #[error] derive macros in crates/runc/src/error.rs (lines 57, 116) read 'Error occured in runc'. Fixed to 'occurred'. Error-display-only change; no API or behavior change. Signed-off-by: SAY-5 --- crates/runc/src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/runc/src/error.rs b/crates/runc/src/error.rs index 86242d93..b17313c2 100644 --- a/crates/runc/src/error.rs +++ b/crates/runc/src/error.rs @@ -54,7 +54,7 @@ pub enum Error { #[error(transparent)] ProcessSpawnFailed(io::Error), - #[error("Error occured in runc: {0}")] + #[error("Error occurred in runc: {0}")] InvalidCommand(io::Error), #[error("Runc command failed: status={status}, stdout=\"{stdout}\", stderr=\"{stderr}\"")] @@ -113,7 +113,7 @@ pub enum Error { #[error("Sorry, this part of api is not implemented: {0}")] Unimplemented(String), - #[error("Error occured in runc client: {0}")] + #[error("Error occurred in runc client: {0}")] Other(Box), #[error("Failed to set cmd io: {0}")]