Remove useless where clauses for the criteria

This commit is contained in:
Kerollmops
2021-03-03 18:09:19 +01:00
parent 07784c8990
commit 1fc25148da
4 changed files with 12 additions and 12 deletions

View File

@ -21,7 +21,7 @@ impl<'t> Words<'t> {
ctx: &'t dyn Context,
query_tree: Option<Operation>,
candidates: Option<RoaringBitmap>,
) -> anyhow::Result<Self> where Self: Sized
) -> anyhow::Result<Self>
{
Ok(Words {
ctx,
@ -36,7 +36,7 @@ impl<'t> Words<'t> {
pub fn new(
ctx: &'t dyn Context,
parent: Box<dyn Criterion + 't>,
) -> anyhow::Result<Self> where Self: Sized
) -> anyhow::Result<Self>
{
Ok(Words {
ctx,