From 94a7b20dea3b049616107e65556b2c99f28a9872 Mon Sep 17 00:00:00 2001 From: Tomasz Pietrek Date: Wed, 4 Sep 2024 07:57:55 +0200 Subject: [PATCH] Fix get_stream_no_info docs Signed-off-by: Tomasz Pietrek --- async-nats/src/jetstream/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async-nats/src/jetstream/context.rs b/async-nats/src/jetstream/context.rs index eb79d243c..ae13e8429 100644 --- a/async-nats/src/jetstream/context.rs +++ b/async-nats/src/jetstream/context.rs @@ -330,7 +330,7 @@ impl Context { /// let client = async_nats::connect("localhost:4222").await?; /// let jetstream = async_nats::jetstream::new(client); /// - /// let stream = jetstream.get_stream("events").await?; + /// let stream = jetstream.get_stream_no_info("events").await?; /// # Ok(()) /// # } /// ```