Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Dec 6, 2024
1 parent 3206fa6 commit 0088173
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions skystreamer/src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,17 @@ impl EventStream {
}
}


/// Simple helper function to create an [`EventStream`] from a domain directly.
///
///
/// ```no_run
/// use futures::{pin_mut, StreamExt};
/// use skystreamer::{stream::event_stream};
///
///
/// let mut event_stream = event_stream("bsky.network").await.unwrap();
/// let stream = event_stream.stream().await.unwrap();
///
///
/// pin_mut!(stream);
///
///
/// while let Some(record) = stream.next().await {
/// // do something with your data here
/// }
Expand Down

0 comments on commit 0088173

Please sign in to comment.