doc: fix some typos

PR #2754
This commit is contained in:
tgolang
2024-05-13 19:44:51 +08:00
committed by GitHub
parent bb6f0f5519
commit 22b677900f
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ use crate::{config::ConfiguredHIR, error::Error};
/// that are in turn used to build a simpler regex that is more amenable to
/// optimization.
///
/// The main idea underyling the validity of this technique is the fact
/// The main idea underlying the validity of this technique is the fact
/// that ripgrep searches individuals lines and not across lines. (Unless
/// -U/--multiline is enabled.) Namely, we can pluck literals out of the regex,
/// search for them, find the bounds of the line in which that literal occurs