Update documentation of feedbacks::map::OneOrFilledIsNovel (#1423)

this previously seemed to describe `NextPow2IsNovel`
This commit is contained in:
lenawanel 2023-08-15 20:14:30 +02:00 committed by GitHub
parent bc42880274
commit 5c05b3d32d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,7 +207,7 @@ where
} }
} }
/// A filter that only saves values which are at least the next pow2 class /// Only consider `T::one()` or `T::max_value()`, if they are bigger than the old value, as novel
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
pub struct OneOrFilledIsNovel {} pub struct OneOrFilledIsNovel {}
impl<T> IsNovel<T> for OneOrFilledIsNovel impl<T> IsNovel<T> for OneOrFilledIsNovel