Skip to content

Commit

Permalink
Fix clippy lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitshifter committed Dec 17, 2024
1 parent e446a0a commit f003a5d
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion codegen/templates/vec.rs.tera
Original file line number Diff line number Diff line change
Expand Up @@ -3851,7 +3851,7 @@ impl From<{{ bvec_from_type }}> for {{ self_t }} {
{% if bveca_from_type %}
{% if bveca_from_type == "BVec4A" %}
#[cfg(not(feature = "scalar-math"))]
{% endif %}
{%- endif %}
impl From<{{ bveca_from_type }}> for {{ self_t }} {
#[inline]
fn from(v: {{ bveca_from_type }}) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/f32/coresimd/vec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,6 @@ impl From<BVec4> for Vec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for Vec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/f32/neon/vec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1844,7 +1844,6 @@ impl From<BVec4> for Vec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for Vec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/f32/scalar/vec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1985,7 +1985,6 @@ impl From<BVec4> for Vec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for Vec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/f32/sse2/vec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1862,7 +1862,6 @@ impl From<BVec4> for Vec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for Vec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/f32/wasm32/vec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,6 @@ impl From<BVec4> for Vec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for Vec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/f64/dvec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,6 @@ impl From<BVec4> for DVec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for DVec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/i16/i16vec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2072,7 +2072,6 @@ impl From<BVec4> for I16Vec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for I16Vec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/i32/ivec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,6 @@ impl From<BVec4> for IVec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for IVec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/i64/i64vec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,6 @@ impl From<BVec4> for I64Vec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for I64Vec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/i8/i8vec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,6 @@ impl From<BVec4> for I8Vec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for I8Vec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/u16/u16vec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1930,7 +1930,6 @@ impl From<BVec4> for U16Vec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for U16Vec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/u32/uvec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,6 @@ impl From<BVec4> for UVec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for UVec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/u64/u64vec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1926,7 +1926,6 @@ impl From<BVec4> for U64Vec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for U64Vec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/u8/u8vec4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,6 @@ impl From<BVec4> for U8Vec4 {
}

#[cfg(not(feature = "scalar-math"))]

impl From<BVec4A> for U8Vec4 {
#[inline]
fn from(v: BVec4A) -> Self {
Expand Down

0 comments on commit f003a5d

Please sign in to comment.