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

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