@@ -54,7 +54,7 @@ use std::{
5454use twox_hash:: XxHash ;
5555
5656mod consts;
57- use self :: consts:: * ;
57+ use self :: consts:: { BIAS_DATA , RAW_ESTIMATE_DATA , TRESHOLD_DATA } ;
5858
5959/// Like [`HyperLogLog`] but implements `Ord` and `Eq` by using the estimate of the cardinality.
6060#[ derive( Serialize , Deserialize ) ]
@@ -429,7 +429,7 @@ impl<V: ?Sized> IntersectPlusUnionIsPlus for HyperLogLog<V> {
429429
430430#[ cfg( target_feature = "avx512bw" ) ] // TODO
431431mod simd_types {
432- use super :: * ;
432+ use super :: packed_simd ;
433433 pub type u8s = packed_simd:: u8x64 ;
434434 pub type u8s_sad_out = packed_simd:: u64x8 ;
435435 pub type f32s = packed_simd:: f32x16 ;
@@ -439,7 +439,7 @@ mod simd_types {
439439#[ cfg( target_feature = "avx2" ) ]
440440mod simd_types {
441441 #![ allow( non_camel_case_types) ]
442- use super :: * ;
442+ use super :: packed_simd ;
443443 pub type u8s = packed_simd:: u8x32 ;
444444 pub type u8s_sad_out = packed_simd:: u64x4 ;
445445 pub type f32s = packed_simd:: f32x8 ;
@@ -449,7 +449,7 @@ mod simd_types {
449449#[ cfg( all( not( target_feature = "avx2" ) , target_feature = "sse2" ) ) ]
450450mod simd_types {
451451 #![ allow( non_camel_case_types) ]
452- use super :: * ;
452+ use super :: packed_simd ;
453453 pub type u8s = packed_simd:: u8x16 ;
454454 pub type u8s_sad_out = packed_simd:: u64x2 ;
455455 pub type f32s = packed_simd:: f32x4 ;
@@ -459,14 +459,14 @@ mod simd_types {
459459#[ cfg( all( not( target_feature = "avx2" ) , not( target_feature = "sse2" ) ) ) ]
460460mod simd_types {
461461 #![ allow( non_camel_case_types) ]
462- use super :: * ;
462+ use super :: packed_simd ;
463463 pub type u8s = packed_simd:: u8x8 ;
464464 pub type u8s_sad_out = u64 ;
465465 pub type f32s = packed_simd:: f32x2 ;
466466 pub type u32s = packed_simd:: u32x2 ;
467467 pub type u8sq = packed_simd:: u8x2 ;
468468}
469- use self :: simd_types:: * ;
469+ use self :: simd_types:: { f32s , u32s , u8s , u8s_sad_out , u8sq } ;
470470
471471struct Sad < X > ( PhantomData < fn ( X ) > ) ;
472472#[ cfg( any( target_arch = "x86" , target_arch = "x86_64" ) ) ]
0 commit comments