happy clippy

This commit is contained in:
Louis Dureuil
2025-11-10 16:59:12 +01:00
parent 33fa564a9c
commit 1104f00803

View File

@@ -155,7 +155,7 @@ fn change_tensor_names(
let views: Vec<(&str, TensorView)> = new_tensors
.iter()
.map(|(name, shape, dtype, data)| {
(name.as_str(), TensorView::new(*dtype, shape.clone(), *data).unwrap())
(name.as_str(), TensorView::new(*dtype, shape.clone(), data).unwrap())
})
.collect();