Fix clippy lints for 1.76. (#1682)

This commit is contained in:
Laurent Mazare
2024-02-08 16:48:47 +01:00
committed by GitHub
parent cdc3823d8f
commit 020a979de2
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ fn set_at_index<D: WithDType, I: Into<i64>>(
value: I,
offset: usize,
depth: usize,
v: &mut Vec<D>,
v: &mut [D],
on_value: D,
) -> Result<()> {
let value = value.into();