We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Display
SerializedSignature
1 parent 5d51b9d commit 0e0fa06Copy full SHA for 0e0fa06
1 file changed
src/ecdsa/serialized_signature.rs
@@ -28,7 +28,7 @@ impl fmt::Debug for SerializedSignature {
28
29
impl fmt::Display for SerializedSignature {
30
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
31
- for v in self.data.iter().take(self.len) {
+ for v in self {
32
write!(f, "{:02x}", v)?;
33
}
34
Ok(())
0 commit comments