diff --git a/uri/src/parsers/ip_v6_address_parsers.rs b/uri/src/parsers/ip_v6_address_parsers.rs index 9da62eaa..3863da6a 100644 --- a/uri/src/parsers/ip_v6_address_parsers.rs +++ b/uri/src/parsers/ip_v6_address_parsers.rs @@ -386,7 +386,7 @@ mod tests { fn new_rng() -> RNG { let mut rand = rand::thread_rng(); - let rng = RNG::new_with_seed(rand.gen()); + let rng = RNG::new().with_seed(rand.gen()); rng }