1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-06-14 22:15:13 +02:00

doc: fix typos

PR #1605
This commit is contained in:
Martin Michlmayr
2020-06-04 21:06:09 +08:00
committed by GitHub
parent b1e3de246c
commit 1b2c1dc675
11 changed files with 14 additions and 14 deletions

View File

@ -116,7 +116,7 @@ impl LiteralSets {
} else if lit.is_empty() {
// If we're here, then we have no LCP. No LCS. And no detected
// inner required literals. In theory this shouldn't happen, but
// the inner literal detector isn't as nice as we hope and doens't
// the inner literal detector isn't as nice as we hope and doesn't
// actually support returning a set of alternating required
// literals. (Instead, it only returns a set where EVERY literal
// in it is required. It cannot currently express "either P or Q

View File

@ -253,7 +253,7 @@ impl RegexMatcherBuilder {
/// they should impose a limit on the length, in bytes, of the concrete
/// pattern string. In particular, this is viable since this parser
/// implementation will limit itself to heap space proportional to the
/// lenth of the pattern string.
/// length of the pattern string.
///
/// Note that a nest limit of `0` will return a nest limit error for most
/// patterns but not all. For example, a nest limit of `0` permits `a` but