Update milli/src/search/matches/mod.rs

Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
Many the fish 2022-07-18 10:18:51 +02:00 committed by GitHub
parent 1da4ab5918
commit e261ef64d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ pub struct MatchBounds {
} }
/// Structure used to analize a string, compute words that match, /// Structure used to analize a string, compute words that match,
/// and format the source string returning an highlighted and croped sub-string. /// and format the source string, returning a highlighted and cropped sub-string.
pub struct Matcher<'t, 'm, A> { pub struct Matcher<'t, 'm, A> {
text: &'t str, text: &'t str,
matching_words: &'m MatchingWords, matching_words: &'m MatchingWords,