diff --git a/src/ws/frame.rs b/src/ws/frame.rs index b4d85676a..5e4fd8290 100644 --- a/src/ws/frame.rs +++ b/src/ws/frame.rs @@ -376,7 +376,7 @@ impl fmt::Display for Frame { /// `WebSocket` message with framing. #[derive(Debug)] -pub struct FramedMessage(pub Binary); +pub struct FramedMessage(pub(crate) Binary); #[cfg(test)] mod tests {