Fix doc in testcase_score.rs

This commit is contained in:
Dongjia "toka" Zhang 2023-09-20 10:36:56 +02:00 committed by GitHub
parent 3625e881a3
commit fdd2f53871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,12 +15,12 @@ use crate::{
Error,
};
/// Compute the favor factor of a [`Testcase`]. Lower is better.
/// Compute the favor factor of a [`Testcase`]. Higher is better.
pub trait TestcaseScore<S>
where
S: HasMetadata + HasCorpus,
{
/// Computes the favor factor of a [`Testcase`]. Lower is better.
/// Computes the favor factor of a [`Testcase`]. Higher is better.
fn compute(state: &S, entry: &mut Testcase<S::Input>) -> Result<f64, Error>;
}