Skip to content

Commit

Permalink
Remove unsupported trait bounds.
Browse files Browse the repository at this point in the history
  • Loading branch information
n3vu0r committed May 13, 2023
1 parent e45238b commit 6cfd1b2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Version 0.7.4 (2023-05-03)
# Version 0.7.4 (2023-05-13)

* Fix build by removing `Octal`/`LowerExp + UpperExp + Display` bound.
* Fix build by using explicit `FromStr<Err = ParseFloatError>` bound.
* Update KaTeX.

Expand Down
4 changes: 2 additions & 2 deletions src/real/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use super::{ApproxEq, Bits, SimdReal};
use core::{
cmp::Ordering,
convert::FloatToInt,
fmt::{Debug, Display, LowerExp, UpperExp},
fmt::Debug,
iter::{Product, Sum},
num::{FpCategory, ParseFloatError},
ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Rem, RemAssign, Sub, SubAssign},
Expand Down Expand Up @@ -38,7 +38,7 @@ where
Self: FloatToInt<u32> + FloatToInt<i32>,
Self: FloatToInt<u16> + FloatToInt<i16>,
Self: FloatToInt<u8> + FloatToInt<i8>,
Self: Debug + LowerExp + UpperExp + Display,
Self: Debug,
Self: Add<Output = Self> + AddAssign,
Self: Sub<Output = Self> + SubAssign,
Self: Mul<Output = Self> + MulAssign,
Expand Down
4 changes: 2 additions & 2 deletions src/simd_bits/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use super::{Bits, Select, SimdMask};
use core::{
fmt::{Debug, Octal},
fmt::Debug,
hash::Hash,
iter::{Product, Sum},
ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Rem, RemAssign, Sub, SubAssign},
Expand All @@ -33,7 +33,7 @@ where
Self: Product<Self> + Sum<Self>,
for<'a> Self: Product<&'a Self> + Sum<&'a Self>,
Self: Hash,
Self: Debug + Octal,
Self: Debug,
Self: Index<usize, Output = B> + IndexMut<usize, Output = B>,
Self: Select<Self::Mask>,
Self: Add<Output = Self> + AddAssign,
Expand Down
4 changes: 2 additions & 2 deletions src/simd_real/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

use super::{ApproxEq, Real, Select, SimdBits, SimdMask};
use core::{
fmt::{Debug, LowerExp, UpperExp},
fmt::Debug,
iter::{Product, Sum},
ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Rem, RemAssign, Sub, SubAssign},
ops::{Index, IndexMut},
Expand Down Expand Up @@ -62,7 +62,7 @@ where
LaneCount<LANES>: SupportedLaneCount,
Self: Send + Sync + Clone + Copy + Default,
Self: ApproxEq<R, Self> + PartialEq + PartialOrd,
Self: Debug + LowerExp + UpperExp,
Self: Debug,
Self: From<Simd<R, LANES>> + Into<Simd<R, LANES>>,
Self: From<[R; LANES]> + Into<[R; LANES]>,
Self: AsRef<[R; LANES]> + AsMut<[R; LANES]>,
Expand Down

0 comments on commit 6cfd1b2

Please sign in to comment.