()
| 251 | |
| 252 | impl HavocMutator { |
| 253 | pub(crate) fn new() -> Self { |
| 254 | let weights = ALL_MUTATIONS.iter().map(mutation_weight).collect(); |
| 255 | Self { mutation_distr: WeightedAliasIndex::new(weights).unwrap() } |
| 256 | } |
| 257 | |
| 258 | #[allow(unused)] |
| 259 | fn random_weights<R: Rng>(rng: &mut R) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected