Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-mysten committed Jan 16, 2025
1 parent a8254ec commit 9add7d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/sui-graphql-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -914,10 +914,10 @@ impl Client {
}

/// Return a stream of epochs based on the (optional) object filter.
pub async fn epochs_stream<'a>(
&'a self,
pub async fn epochs_stream(
&self,
streaming_direction: Direction,
) -> impl Stream<Item = Result<Epoch>> + 'a {
) -> impl Stream<Item = Result<Epoch>> + '_ {
stream_paginated_query(
move |pag_filter| self.epochs(pag_filter),
streaming_direction,
Expand Down

0 comments on commit 9add7d2

Please sign in to comment.