io: update copy buffer size (#4209)

This commit is contained in:
Alice Ryhl 2021-11-02 16:22:45 +01:00 committed by GitHub
parent 1265d0c5dc
commit 669bc4476e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ impl CopyBuffer {
pos: 0,
cap: 0,
amt: 0,
buf: vec![0; 2048].into_boxed_slice(),
buf: vec![0; super::DEFAULT_BUF_SIZE].into_boxed_slice(),
}
}