From af3ea172ab1ba3031e8caf9b502fe8c95df73e71 Mon Sep 17 00:00:00 2001 From: Sirui Mu Date: Sun, 28 Aug 2022 15:54:01 +0800 Subject: [PATCH] Fix documentation of Rand::below (#747) --- libafl/src/bolts/rands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libafl/src/bolts/rands.rs b/libafl/src/bolts/rands.rs index d3027497bf..ccc6491aaa 100644 --- a/libafl/src/bolts/rands.rs +++ b/libafl/src/bolts/rands.rs @@ -26,7 +26,7 @@ pub trait Rand: Debug + Serialize + DeserializeOwned { /// Gets the next 64 bit value fn next(&mut self) -> u64; - /// Gets a value below the given 64 bit val (inclusive) + /// Gets a value below the given 64 bit val (exclusive) fn below(&mut self, upper_bound_excl: u64) -> u64 { if upper_bound_excl <= 1 { return 0;