Skip to content

Commit f0bcb9a

Browse files
committed
clippy fix
1 parent 75d63cd commit f0bcb9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dfdx-core/src/tensor/gradients.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl<E, D: Storage<E>> Gradients<E, D> {
153153
#[inline]
154154
pub(crate) fn many_and_ref<L: Shape, R: Shape>(
155155
&mut self,
156-
ls: &Vec<impl Tensorlike<L, E, D>>,
156+
ls: &[impl Tensorlike<L, E, D>],
157157
r: &impl Tensorlike<R, E, D>,
158158
) -> (Vec<&mut D::Vec>, &D::Vec) {
159159
for i in 0..ls.len() {

0 commit comments

Comments
 (0)