Update milli/src/search/matches/mod.rs
This commit is contained in:
parent
8ddb4e750b
commit
2d79720f5d
|
@ -428,7 +428,7 @@ impl<'t, A: AsRef<[u8]>> Matcher<'t, '_, A> {
|
|||
_ => matches,
|
||||
};
|
||||
|
||||
// If the text have to be croped,
|
||||
// If the text has to be cropped,
|
||||
// crop around the best interval.
|
||||
let (byte_start, byte_end) = match format_options.crop {
|
||||
Some(crop_size) if crop_size > 0 => {
|
||||
|
|
Loading…
Reference in New Issue