You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/traits.rs
+3-17Lines changed: 3 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
//! Definitions and implementations for some traits that are common between the [`float`](crate::float), [`immutable`](crate::immutable) and [`fixed`](crate::fixed) modules
2
2
use az::Cast;
3
3
use divrem::DivCeil;
4
-
use num_traits::{One,PrimInt,Unsigned,Zero};
4
+
use num_traits::{PrimInt,Unsigned,Zero};
5
5
use std::fmt::Debug;
6
6
7
7
/// Content trait.
@@ -14,23 +14,9 @@ use std::fmt::Debug;
14
14
/// a Vec. Try switching to a smaller type and benchmarking to see if you get better
15
15
/// performance. Any type that satisfies these trait constraints may be used; in
16
16
/// particular, we use T::default() to initialize the KdTree content.
0 commit comments