Skip to content

Commit

Permalink
chore: first instead of get(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
patriknw committed Jan 22, 2024
1 parent 2e5bed1 commit 2ec9a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion akka-projection-rs-grpc/src/consumer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ where
Self::with_slice_range(
event_producer_channel,
stream_id,
slice_range.get(0).cloned().unwrap(),
slice_range.first().cloned().unwrap(),
)
}

Expand Down

0 comments on commit 2ec9a6b

Please sign in to comment.