From d7a830cd6851c8cf34dbe0bb5bafd1762764ab86 Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Wed, 11 Nov 2020 14:19:12 +0100 Subject: [PATCH] code format --- src/mutators/scheduled.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mutators/scheduled.rs b/src/mutators/scheduled.rs index af7344cd62..51bb58ed7f 100644 --- a/src/mutators/scheduled.rs +++ b/src/mutators/scheduled.rs @@ -206,10 +206,12 @@ where Ok(_) => found = true, Err(_) => { if retry_count == 20 { - return Err(AflError::Empty("No suitable testcase found for splicing".to_owned())); + return Err(AflError::Empty( + "No suitable testcase found for splicing".to_owned(), + )); } retry_count += 1; - }, + } }; if found { break other_rr; @@ -318,7 +320,7 @@ mod tests { use crate::corpus::{Corpus, InMemoryCorpus}; use crate::inputs::BytesInput; use crate::mutators::scheduled::mutation_splice; - use crate::utils::{Xoshiro256StarRand, DefaultHasRand}; + use crate::utils::{DefaultHasRand, Xoshiro256StarRand}; #[test] fn test_mut_splice() {