style(mcp): rustfmt
This commit is contained in:
@@ -197,7 +197,8 @@ impl WaMcpHandler {
|
||||
// call `scope::brief_visible(scope_val, exposed)` before returning.
|
||||
match crate::commands::get_feature_brief(id).await {
|
||||
Ok(brief) => Ok(CallToolResult::structured(
|
||||
serde_json::to_value(brief).map_err(|e| McpProtoError::internal_error(e.to_string(), None))?,
|
||||
serde_json::to_value(brief)
|
||||
.map_err(|e| McpProtoError::internal_error(e.to_string(), None))?,
|
||||
)),
|
||||
Err(e) => Ok(CallToolResult::structured_error(json!({
|
||||
"error": e.kind,
|
||||
|
||||
Reference in New Issue
Block a user