diff options
| author | KyleMiles <krm504@nyu.edu> | 2024-05-10 12:05:45 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2024-05-10 12:05:45 -0400 |
| commit | 0ace079eb70b0c999914a1e95a3eb1324a3b19d8 (patch) | |
| tree | f87d9f7a3e510f153a3fbbbe58160d13cd2c51ad /rust/src/metadata.rs | |
| parent | adde27cfa50f7ef70821cecb71967d538962f7b3 (diff) | |
Rust API : Misc cargo clippy fixes
Diffstat (limited to 'rust/src/metadata.rs')
| -rw-r--r-- | rust/src/metadata.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<Metadata>)> = value - .into_iter() + .iter() .map(|(k, v)| (k.into_bytes_with_nul(), v.into())) .collect(); let mut keys: Vec<*const c_char> = data |
