Skip to content

Commit

Permalink
Fix typos in examples
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Pietrek <[email protected]>
  • Loading branch information
Jarema committed Oct 24, 2024
1 parent 2e6d9a7 commit b17d71d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions async-nats/src/jetstream/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ impl<I> Stream<I> {
///
/// ```no_run
/// #[tokio::main]
/// # async fn mains() -> Result<(), async_nats::Error> {
/// # async fn main() -> Result<(), async_nats::Error> {
/// use futures::StreamExt;
/// use futures::TryStreamExt;
///
Expand Down Expand Up @@ -550,7 +550,7 @@ impl<I> Stream<I> {
///
/// ```no_run
/// #[tokio::main]
/// # async fn mains() -> Result<(), async_nats::Error> {
/// # async fn main() -> Result<(), async_nats::Error> {
/// use futures::StreamExt;
/// use futures::TryStreamExt;
///
Expand Down

0 comments on commit b17d71d

Please sign in to comment.