chore: Fix lint issues (#222)

This commit is contained in:
Santiago Carmuega 2023-02-03 01:07:14 +01:00 committed by GitHub
parent fe5e2d038d
commit 9d8ca617ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -159,7 +159,7 @@ pub enum Error {
impl Error {
pub fn invalid_cbor(error: impl Display) -> Self {
Error::InvalidCbor(format!("{}", error))
Error::InvalidCbor(format!("{error}"))
}
pub fn unknown_cbor(bytes: &[u8]) -> Self {