mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-11-22 04:36:32 +00:00
happy clippy
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user