Skip to content

Commit

Permalink
chore: fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jun 8, 2024
1 parent 3505a16 commit 14349c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion derive/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub struct DerivationSeg<I: IdxBase = NormalIndex>(Confined<BTreeSet<I>, 1, 8>);

impl<I: IdxBase> From<&'static [I]> for DerivationSeg<I> {
fn from(indexes: &'static [I]) -> Self {
Self(Confined::from_iter_unsafe(indexes.into_iter().copied()))
Self(Confined::from_iter_unsafe(indexes.iter().copied()))
}
}

Expand Down

0 comments on commit 14349c1

Please sign in to comment.