Skip to content

Commit 2f0370f

Browse files
committed
Remove redundant Copy bounds
1 parent edb5ce7 commit 2f0370f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ macro_rules! impl_not_nan_binop {
760760
}
761761
}
762762

763-
impl<T: Float + Copy> $imp<&T> for NotNan<T> {
763+
impl<T: Float> $imp<&T> for NotNan<T> {
764764
type Output = NotNan<T>;
765765

766766
#[inline]
@@ -769,7 +769,7 @@ macro_rules! impl_not_nan_binop {
769769
}
770770
}
771771

772-
impl<T: Float + Copy> $imp<&Self> for NotNan<T> {
772+
impl<T: Float> $imp<&Self> for NotNan<T> {
773773
type Output = NotNan<T>;
774774

775775
#[inline]
@@ -778,7 +778,7 @@ macro_rules! impl_not_nan_binop {
778778
}
779779
}
780780

781-
impl<T: Float + Copy> $imp for &NotNan<T> {
781+
impl<T: Float> $imp for &NotNan<T> {
782782
type Output = NotNan<T>;
783783

784784
#[inline]
@@ -787,7 +787,7 @@ macro_rules! impl_not_nan_binop {
787787
}
788788
}
789789

790-
impl<T: Float + Copy> $imp<NotNan<T>> for &NotNan<T> {
790+
impl<T: Float> $imp<NotNan<T>> for &NotNan<T> {
791791
type Output = NotNan<T>;
792792

793793
#[inline]
@@ -796,7 +796,7 @@ macro_rules! impl_not_nan_binop {
796796
}
797797
}
798798

799-
impl<T: Float + Copy> $imp<T> for &NotNan<T> {
799+
impl<T: Float> $imp<T> for &NotNan<T> {
800800
type Output = NotNan<T>;
801801

802802
#[inline]
@@ -805,7 +805,7 @@ macro_rules! impl_not_nan_binop {
805805
}
806806
}
807807

808-
impl<T: Float + Copy> $imp<&T> for &NotNan<T> {
808+
impl<T: Float> $imp<&T> for &NotNan<T> {
809809
type Output = NotNan<T>;
810810

811811
#[inline]

0 commit comments

Comments
 (0)