diff options
author | aricha1940 <aricha1940@users.noreply.github.com> | 2021-03-31 05:18:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 08:18:38 -0400 |
commit | 1c3eebefec9b80b77754a1567c70bc6948a044c6 (patch) | |
tree | 0e78ef43f54c5679aa1741d6a5828f8ad8b60548 /crates | |
parent | 64ac2ebe0f2fe1c8967e7ec550bc32466bf40a07 (diff) |
searcher: update outdated comment for buffer size
Looks like this was accidentally left set to 8 in commit 46fb77c.
PR #1839
Diffstat (limited to 'crates')
-rw-r--r-- | crates/searcher/src/line_buffer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/searcher/src/line_buffer.rs b/crates/searcher/src/line_buffer.rs index d0f2a87a..7aa4cb83 100644 --- a/crates/searcher/src/line_buffer.rs +++ b/crates/searcher/src/line_buffer.rs @@ -4,7 +4,7 @@ use std::io; use bstr::ByteSlice; /// The default buffer capacity that we use for the line buffer. -pub(crate) const DEFAULT_BUFFER_CAPACITY: usize = 64 * (1 << 10); // 8 KB +pub(crate) const DEFAULT_BUFFER_CAPACITY: usize = 64 * (1 << 10); // 64 KB /// The behavior of a searcher in the face of long lines and big contexts. /// |