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 3a36c3f commit 0f91f09
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 @@ -199,7 +199,7 @@ impl<O: Offset, M: MutableArray> MutableListArray<O, M> {
/// Panics if the passed iterator has no upper bound.
pub unsafe fn unsafe_extend_offsets<II>(&mut self, expansion: II)
where
II: IntoIterator<Item = Option<O>> + TrustedLen,
II: TrustedLen<Item = Option<O>>,
{
let (_, upper) = expansion.size_hint();
let upper = upper.expect("iterator must have upper bound");
Expand Down

0 comments on commit 0f91f09

Please sign in to comment.