From 66ae5c8161395c77f671435b88107d26de351db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Sun, 3 Feb 2019 11:12:34 +0100 Subject: [PATCH] chore: Clarify some QueryBuilder comments --- src/rank/query_builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rank/query_builder.rs b/src/rank/query_builder.rs index 1dced5ba3..c7fe7b528 100644 --- a/src/rank/query_builder.rs +++ b/src/rank/query_builder.rs @@ -136,7 +136,7 @@ where D: Deref, FI: Fn(DocumentId, &DatabaseView) -> bool, { pub fn query(self, query: &str, range: Range) -> Vec { - // We give the filtering work to the query distinct builder, + // We delegate the filter work to the distinct query builder, // specifying a distinct rule that has no effect. if self.filter.is_some() { let builder = self.with_distinct(|_, _| None as Option<()>, 1);