mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 16:21:07 +00:00
Remove useless where clauses for the criteria
This commit is contained in:
@ -22,7 +22,7 @@ impl<'t> Proximity<'t> {
|
||||
ctx: &'t dyn Context,
|
||||
query_tree: Option<Operation>,
|
||||
candidates: Option<RoaringBitmap>,
|
||||
) -> anyhow::Result<Self> where Self: Sized
|
||||
) -> anyhow::Result<Self>
|
||||
{
|
||||
Ok(Proximity {
|
||||
ctx,
|
||||
@ -38,7 +38,7 @@ impl<'t> Proximity<'t> {
|
||||
pub fn new(
|
||||
ctx: &'t dyn Context,
|
||||
parent: Box<dyn Criterion + 't>,
|
||||
) -> anyhow::Result<Self> where Self: Sized
|
||||
) -> anyhow::Result<Self>
|
||||
{
|
||||
Ok(Proximity {
|
||||
ctx,
|
||||
|
Reference in New Issue
Block a user