From 0ace079eb70b0c999914a1e95a3eb1324a3b19d8 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Fri, 10 May 2024 12:05:45 -0400 Subject: Rust API : Misc cargo clippy fixes --- rust/src/metadata.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/metadata.rs') diff --git a/rust/src/metadata.rs b/rust/src/metadata.rs index 8cb32d72..c8c532f3 100644 --- a/rust/src/metadata.rs +++ b/rust/src/metadata.rs @@ -456,7 +456,7 @@ where { fn from(value: &[(S, T)]) -> Self { let data: Vec<(S::Result, Ref)> = value - .into_iter() + .iter() .map(|(k, v)| (k.into_bytes_with_nul(), v.into())) .collect(); let mut keys: Vec<*const c_char> = data -- cgit v1.3.1