Skip to content

Commit 4cf590f

Browse files
committed
Remove unnecessary Float::Int bounds
1 parent ec9c959 commit 4cf590f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/float/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ pub mod add;
66
/// Trait for some basic operations on floats
77
pub trait Float: Sized {
88
/// A uint of the same with as the float
9-
type Int: Sized + Copy + Clone + Sub<Output=Self::Int> +
10-
ShlAssign<Self::Int> + Shl<Self::Int, Output=Self::Int>;
9+
type Int;
1110

1211
/// Returns the bitwidth of the float type
1312
fn bits() -> u32;

0 commit comments

Comments
 (0)