[actix-web/src/helpers.rs] Make `MutWriter` `pub`lic

This commit is contained in:
Samuel Marks 2024-06-13 22:45:05 -04:00
parent fa74ab3dfb
commit eb9a473d29
No known key found for this signature in database
GPG Key ID: 43FD8EDE42E1A799
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ use bytes::BufMut;
///
/// This is slightly faster (~10%) than `bytes::buf::Writer` in such cases because it does not
/// perform a remaining length check before writing.
pub(crate) struct MutWriter<'a, B>(pub(crate) &'a mut B);
pub struct MutWriter<'a, B>(pub(crate) &'a mut B);
impl<'a, B> io::Write for MutWriter<'a, B>
where