mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
feat: Introducing the Matches as_matches method
This commit is contained in:
parent
d21406a939
commit
ef7ba96d4a
2 changed files with 6 additions and 2 deletions
|
@ -71,6 +71,10 @@ impl Matches {
|
|||
windows: self.slices.windows(2),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn as_matches(&self) -> &[Match] {
|
||||
&self.matches
|
||||
}
|
||||
}
|
||||
|
||||
pub struct QueryIndexGroups<'a, 'b> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue