Remove limit from symbol_index::Query

This commit is contained in:
Lukas Wirth 2024-01-04 19:20:10 +01:00
parent 0af780ea3e
commit 2666349392
8 changed files with 10 additions and 29 deletions

View file

@ -60,7 +60,6 @@ pub struct Query {
mode: SearchMode,
assoc_mode: AssocSearchMode,
case_sensitive: bool,
limit: usize,
}
impl Query {
@ -74,7 +73,6 @@ impl Query {
mode: SearchMode::Fuzzy,
assoc_mode: AssocSearchMode::Include,
case_sensitive: false,
limit: usize::max_value(),
}
}
@ -106,10 +104,6 @@ impl Query {
pub fn case_sensitive(&mut self) {
self.case_sensitive = true;
}
pub fn limit(&mut self, limit: usize) {
self.limit = limit
}
}
#[salsa::query_group(SymbolsDatabaseStorage)]