aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-05-30 14:10:30 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2025-05-30 14:10:30 +0100
commitf2e8875b33d0bc5274e996916aa1f3bf4ec9f83c (patch)
tree71c66f8552d045add4812a5bca729aad39014145 /src/writer
parent6d1f28eb79c6c70b058fcbae5047dbd744764149 (diff)
downloadpeanuts-f2e8875b33d0bc5274e996916aa1f3bf4ec9f83c.tar.gz
peanuts-f2e8875b33d0bc5274e996916aa1f3bf4ec9f83c.tar.bz2
peanuts-f2e8875b33d0bc5274e996916aa1f3bf4ec9f83c.zip
fix: make `Loggable` public
Diffstat (limited to 'src/writer')
-rw-r--r--src/writer/loggable.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/writer/loggable.rs b/src/writer/loggable.rs
index dd69668..82f14a3 100644
--- a/src/writer/loggable.rs
+++ b/src/writer/loggable.rs
@@ -5,6 +5,7 @@ use pin_project::pin_project;
pub use tokio::io::AsyncWrite;
#[pin_project]
+/// Wrapper struct for logging writes to `AsyncWrite` implementors.
#[derive(Debug)]
pub struct Loggable<W> {
log_buffer: Vec<u8>,