mirror of
https://github.com/j178/prek.git
synced 2026-04-25 02:11:36 +02:00
Use bigger buffer size for fixing trailing whitespace (#705)
This commit is contained in:
@@ -13,7 +13,7 @@ use crate::hook::Hook;
|
||||
use crate::run::CONCURRENCY;
|
||||
|
||||
const MARKDOWN_LINE_BREAK: &[u8] = b" ";
|
||||
const BUFFER_SIZE_THRESHOLD: usize = 16 * 1024; // 16KB
|
||||
const BUFFER_SIZE_THRESHOLD: usize = 64 * 1024; // 64KB
|
||||
|
||||
#[derive(Clone)]
|
||||
struct Chars(Vec<char>);
|
||||
|
||||
Reference in New Issue
Block a user