From da8481215539e24df4331ece13e0784d44f49eea Mon Sep 17 00:00:00 2001 From: Tomasz Pietrek Date: Thu, 12 Sep 2024 11:22:48 +0200 Subject: [PATCH] fix doc example Signed-off-by: Tomasz Pietrek --- async-nats/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async-nats/src/client.rs b/async-nats/src/client.rs index 6e70afce0..ce2c0f83f 100644 --- a/async-nats/src/client.rs +++ b/async-nats/src/client.rs @@ -666,7 +666,7 @@ impl Client { /// # async fn main() -> Result<(), async_nats::Error> { /// let client = async_nats::connect("demo.nats.io").await?; /// let statistics = client.statistics(); - /// println!("client statistics: {:$?}", statistics); + /// println!("client statistics: {:#?}", statistics); /// # Ok(()) /// # } /// ```