From 14349c1a891d6534db560804c60a96e5082f004d Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Sat, 8 Jun 2024 16:56:42 +0200 Subject: [PATCH] chore: fix clippy lints --- derive/src/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/derive/src/path.rs b/derive/src/path.rs index 865aeaa..5e85993 100644 --- a/derive/src/path.rs +++ b/derive/src/path.rs @@ -45,7 +45,7 @@ pub struct DerivationSeg(Confined, 1, 8>); impl From<&'static [I]> for DerivationSeg { fn from(indexes: &'static [I]) -> Self { - Self(Confined::from_iter_unsafe(indexes.into_iter().copied())) + Self(Confined::from_iter_unsafe(indexes.iter().copied())) } }