File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ impl<'a> InputIterator<'a> {
208208#[ cfg( test) ]
209209mod tests {
210210 use super :: * ;
211- use rand:: Rng ;
211+ use rand:: RngExt ;
212212 use std:: io:: Write ;
213213 use tempfile:: NamedTempFile ;
214214
Original file line number Diff line number Diff line change 11use clap:: Parser ;
2- use rand:: Rng ;
2+ use rand:: RngExt ;
33use sassy:: { Searcher , profiles:: Iupac } ;
44
55#[ derive( clap:: Parser ) ]
Original file line number Diff line number Diff line change @@ -2070,7 +2070,7 @@ mod tests {
20702070 // env_logger::init();
20712071
20722072 use rand:: rngs:: StdRng ;
2073- use rand:: { Rng , SeedableRng } ;
2073+ use rand:: { RngExt , SeedableRng } ;
20742074 use std:: iter:: repeat_with;
20752075
20762076 let mut rng = StdRng :: seed_from_u64 ( 42 ) ;
@@ -2249,7 +2249,7 @@ mod tests {
22492249
22502250 #[ test]
22512251 fn test_random_patterns_60_range_fuzz ( ) {
2252- use rand:: Rng ;
2252+ use rand:: RngExt ;
22532253 let mut rng = rand:: rng ( ) ;
22542254 let mut i = 0 ;
22552255
@@ -2917,7 +2917,7 @@ mod tests {
29172917 env_logger:: init ( ) ;
29182918
29192919 use rand:: rngs:: StdRng ;
2920- use rand:: { Rng , SeedableRng } ;
2920+ use rand:: { RngExt , SeedableRng } ;
29212921
29222922 let mut rng = StdRng :: seed_from_u64 ( 42 ) ;
29232923 let mut searcher = Searcher :: < Iupac > :: new_fwd ( ) ;
You can’t perform that action at this time.
0 commit comments