Skip to content

Commit 1c3eebe

Browse files
authored
searcher: update outdated comment for buffer size
Looks like this was accidentally left set to 8 in commit 46fb77c. PR BurntSushi#1839
1 parent 64ac2eb commit 1c3eebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/searcher/src/line_buffer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::io;
44
use bstr::ByteSlice;
55

66
/// The default buffer capacity that we use for the line buffer.
7-
pub(crate) const DEFAULT_BUFFER_CAPACITY: usize = 64 * (1 << 10); // 8 KB
7+
pub(crate) const DEFAULT_BUFFER_CAPACITY: usize = 64 * (1 << 10); // 64 KB
88

99
/// The behavior of a searcher in the face of long lines and big contexts.
1010
///

0 commit comments

Comments
 (0)