From 2d79720f5da563ecf3ff3f585576209132f93b9a Mon Sep 17 00:00:00 2001 From: Many the fish Date: Mon, 18 Jul 2022 17:48:04 +0200 Subject: [PATCH] Update milli/src/search/matches/mod.rs --- milli/src/search/matches/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/search/matches/mod.rs b/milli/src/search/matches/mod.rs index fe35b2a0a..72592c4cb 100644 --- a/milli/src/search/matches/mod.rs +++ b/milli/src/search/matches/mod.rs @@ -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 => {