mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 19:49:22 +00:00
Correct the MerlinTranscript Debug impl
This commit is contained in:
parent
c7121d96ac
commit
b85801b524
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ use crate::Transcript;
|
||||||
pub struct MerlinTranscript(pub merlin::Transcript);
|
pub struct MerlinTranscript(pub merlin::Transcript);
|
||||||
// Merlin doesn't implement Debug so provide a stub which won't panic
|
// Merlin doesn't implement Debug so provide a stub which won't panic
|
||||||
impl Debug for MerlinTranscript {
|
impl Debug for MerlinTranscript {
|
||||||
fn fmt(&self, _: &mut Formatter<'_>) -> Result<(), core::fmt::Error> {
|
fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), core::fmt::Error> {
|
||||||
Ok(())
|
fmt.debug_struct("MerlinTranscript").finish()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue