diff --git a/prost/src/message.rs b/prost/src/message.rs index ee33eecd9..2d91ede3c 100644 --- a/prost/src/message.rs +++ b/prost/src/message.rs @@ -3,8 +3,6 @@ use alloc::boxed::Box; #[cfg(not(feature = "std"))] use alloc::vec::Vec; -use core::fmt::Debug; - use bytes::{Buf, BufMut}; use crate::encoding::varint::{encode_varint, encoded_len_varint}; @@ -14,7 +12,7 @@ use crate::DecodeError; use crate::EncodeError; /// A Protocol Buffers message. -pub trait Message: Debug + Send + Sync { +pub trait Message: Send + Sync { /// Encodes the message to a buffer. /// /// This method will panic if the buffer has insufficient capacity.