From 66215c0e5a867f8aad0404b4c7ff5a5f00a96465 Mon Sep 17 00:00:00 2001 From: parazyd Date: Wed, 19 Jan 2022 15:42:37 +0100 Subject: [PATCH] bin/map: Fix comment formatting. --- bin/map/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/map/src/main.rs b/bin/map/src/main.rs index 6b894134f..a3cbb79a1 100644 --- a/bin/map/src/main.rs +++ b/bin/map/src/main.rs @@ -51,8 +51,8 @@ impl Map { } } - //--> {"jsonrpc": "2.0", "method": "say_hello", "params": [], "id": 42} - //<-- {"jsonrpc": "2.0", "result": "hello world", "id": 42} + // --> {"jsonrpc": "2.0", "method": "say_hello", "params": [], "id": 42} + // <-- {"jsonrpc": "2.0", "result": "hello world", "id": 42} async fn say_hello(&self) -> Result { let req = jsonrpc::request(json!("say_hello"), json!([])); Ok(self.request(req).await?)