chore(masking): add peek_mut to PeekInterface (#7281)

This commit is contained in:
Kartikeya Hegde
2025-02-22 13:23:51 +05:30
committed by GitHub
parent c14519ebd9
commit 890a265e7b
4 changed files with 15 additions and 0 deletions

View File

@ -28,6 +28,10 @@ impl PeekInterface<BytesMut> for SecretBytesMut {
fn peek(&self) -> &BytesMut {
&self.0
}
fn peek_mut(&mut self) -> &mut BytesMut {
&mut self.0
}
}
impl fmt::Debug for SecretBytesMut {