We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ref_binding_to_reference
1 parent 959f8b9 commit 35ee8f3Copy full SHA for 35ee8f3
1 file changed
src/encode.rs
@@ -76,7 +76,7 @@ impl fmt::Display for Error {
76
"oversized vector allocation: requested {}, maximum {}",
77
r, m
78
),
79
- Error::ParseFailed(ref e) => write!(f, "parse failed: {}", e),
+ Error::ParseFailed(e) => write!(f, "parse failed: {}", e),
80
Error::UnexpectedEOF => write!(f, "unexpected EOF"),
81
Error::InvalidConfidentialPrefix(p) => {
82
write!(f, "invalid confidential prefix: 0x{:02x}", p)
0 commit comments