Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
Co-authored-by: Jorge Leitao <[email protected]>
  • Loading branch information
AnIrishDuck and jorgecarleitao authored Oct 21, 2022
1 parent e020f08 commit 19571b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array/list/mutable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl<O: Offset, M: MutableArray> MutableListArray<O, M> {
/// - the passed iterator has no upper bound.
pub fn extend_offsets<II>(&mut self, expansion: II)
where
II: IntoIterator<Item = Option<O>> + TrustedLen,
II: TrustedLen<Item = Option<O>>,
{
let current_len = self.offsets.len();
let (_, upper) = expansion.size_hint();
Expand Down

0 comments on commit 19571b2

Please sign in to comment.