Skip to content

Commit

Permalink
remove unnecessary format
Browse files Browse the repository at this point in the history
  • Loading branch information
franziskuskiefer committed Jul 7, 2021
1 parent 0a4c3e4 commit 9bb34e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -823,9 +823,9 @@ impl tls_codec::Deserialize for HpkePublicKey {
impl tls_codec::Deserialize for &HpkePublicKey {
#[inline(always)]
fn tls_deserialize<R: std::io::Read>(_: &mut R) -> Result<Self, tls_codec::Error> {
Err(tls_codec::Error::DecodingError(format!(
"Error trying to deserialize a reference."
)))
Err(tls_codec::Error::DecodingError(
"Error trying to deserialize a reference.".to_string(),
))
}
}

Expand Down

0 comments on commit 9bb34e1

Please sign in to comment.