1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-28 01:52:57 +01:00

Promote BigBytes from pub(super) to pub(crate)

This commit is contained in:
asonix 2024-05-18 12:53:41 -05:00
parent b492b27e4a
commit 09b460c72e

View File

@ -4,7 +4,7 @@ use bytes::{Buf, BufMut, Bytes, BytesMut};
const SIXTYFOUR_KB: usize = 1024 * 64; const SIXTYFOUR_KB: usize = 1024 * 64;
pub(super) struct BigBytes { pub(crate) struct BigBytes {
buffer: BytesMut, buffer: BytesMut,
frozen: VecDeque<Bytes>, frozen: VecDeque<Bytes>,
frozen_len: usize, frozen_len: usize,