From 9daf1fc108b594a6631d339f757fab895c2906f2 Mon Sep 17 00:00:00 2001 From: Dan Blackwell Date: Wed, 7 Aug 2024 18:26:18 +0100 Subject: [PATCH] Keep the linter happy --- src/options.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/options.rs b/src/options.rs index 0b9711d..677b0e7 100644 --- a/src/options.rs +++ b/src/options.rs @@ -139,18 +139,18 @@ pub struct BuildOptions { /// Disable transformation of if-statements into `cmov` instructions (when this /// happens, we get no coverage feedback for that branch). Default setting is true. /// This is done by setting the `-simplifycfg-branch-fold-threshold=0` LLVM arg. - /// - /// For example, in the following program shows the default coverage feedback when + /// + /// For example, in the following program shows the default coverage feedback when /// compiled with `-Copt-level=3`: - /// + /// /// mark_covered(1); // mark edge 1 as covered /// let mut res = 1; /// if x > 5 && y < 6 { /// res = 2; /// } - /// + /// /// With `disable_branch_folding` enabled, the code compiles to be equivalent to: - /// + /// /// mark_covered(1); /// let mut res = 1; /// if x > 5 { @@ -160,7 +160,7 @@ pub struct BuildOptions { /// res = 2; /// } /// } - /// + /// /// Note, that in the second program, there are now 2 new coverage feedback points, /// and the fuzzer can store an input to the corpus at each condition that it passes; /// giving it a better chance of producing an input that reaches `res = 2;`.