mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
Fix clippy lints for 1.76. (#1682)
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user