Skip to content

Commit 094e412

Browse files
committed
Clippy
1 parent f812355 commit 094e412

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/leap_vector.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ impl<'a> Deref for LeapVectorRef<'a> {
3232
}
3333
}
3434

35-
impl Into<[f32; 3]> for LeapVectorRef<'_> {
36-
fn into(self) -> [f32; 3] {
37-
self.array()
35+
impl From<LeapVectorRef<'_>> for [f32; 3] {
36+
fn from(v: LeapVectorRef) -> [f32; 3] {
37+
v.array()
3838
}
3939
}
4040

0 commit comments

Comments
 (0)