Fix doc in testcase_score.rs
This commit is contained in:
parent
3625e881a3
commit
fdd2f53871
@ -15,12 +15,12 @@ use crate::{
|
|||||||
Error,
|
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>
|
pub trait TestcaseScore<S>
|
||||||
where
|
where
|
||||||
S: HasMetadata + HasCorpus,
|
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>;
|
fn compute(state: &S, entry: &mut Testcase<S::Input>) -> Result<f64, Error>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user