diff --git a/async-nats/src/jetstream/stream.rs b/async-nats/src/jetstream/stream.rs index efd0bb952..d019b8e4c 100755 --- a/async-nats/src/jetstream/stream.rs +++ b/async-nats/src/jetstream/stream.rs @@ -494,7 +494,7 @@ impl Stream { /// /// ```no_run /// #[tokio::main] - /// # async fn mains() -> Result<(), async_nats::Error> { + /// # async fn main() -> Result<(), async_nats::Error> { /// use futures::StreamExt; /// use futures::TryStreamExt; /// @@ -550,7 +550,7 @@ impl Stream { /// /// ```no_run /// #[tokio::main] - /// # async fn mains() -> Result<(), async_nats::Error> { + /// # async fn main() -> Result<(), async_nats::Error> { /// use futures::StreamExt; /// use futures::TryStreamExt; ///