Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Pietrek <[email protected]>
  • Loading branch information
Jarema committed Jan 3, 2025
1 parent 068498c commit cee895e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions async-nats/src/jetstream/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -722,12 +722,13 @@ impl<I> Stream<I> {
/// let context = async_nats::jetstream::new(client);
/// let stream = context.get_stream_no_info("events").await?;
///
/// let raw_message = stream.get_last_raw_message_by_subject("events.created").await?;
/// let raw_message = stream
/// .get_last_raw_message_by_subject("events.created")
/// .await?;
/// println!("Retrieved raw message {:?}", raw_message);
/// # Ok(())
/// # }
/// ```
pub async fn get_last_raw_message_by_subject(
&self,
stream_subject: &str,
Expand Down

0 comments on commit cee895e

Please sign in to comment.