From f31b101ce1e921a026ba234b1f0a83b0392bc118 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 20 May 2026 08:33:49 +0900 Subject: fix(compile): fix all remaining compile errors Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/shirabe/src/io/base_io.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/shirabe/src/io/base_io.rs') diff --git a/crates/shirabe/src/io/base_io.rs b/crates/shirabe/src/io/base_io.rs index 6e6e7d0..f2b7ee5 100644 --- a/crates/shirabe/src/io/base_io.rs +++ b/crates/shirabe/src/io/base_io.rs @@ -446,11 +446,11 @@ pub trait BaseIO: IOInterface { let mut message_str = message.as_string().unwrap_or("").to_string(); if !context.is_empty() { - let json = Silencer::call(|| { - json_encode_ex( + let json: anyhow::Result> = Silencer::call(|| { + Ok(json_encode_ex( &PhpMixed::Array(context.clone()), JSON_INVALID_UTF8_IGNORE | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE, - ) + )) }); if let Ok(Some(json_str)) = json { message_str += " "; -- cgit v1.3.1