Skip to content

Commit 6ac2d68

Browse files
committed
remove legacy numeric constant import
1 parent 9a482bf commit 6ac2d68

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

benchmark/common.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2020
// THE SOFTWARE.
2121

22-
use std::i32;
23-
2422
#[derive(Clone, Copy)]
2523
pub struct FastRand {
2624
x: u32,
@@ -67,7 +65,6 @@ impl FastRand {
6765

6866
#[inline]
6967
pub fn next_double(&mut self, range: f64) -> f64 {
70-
use std::u32;
7168
self.next_u32() as f64 * range / (u32::MAX as f64)
7269
}
7370
}

0 commit comments

Comments
 (0)