apply clippy optimizations

This commit is contained in:
yggverse 2024-11-23 18:11:44 +02:00
parent dd1411487e
commit 227c9bb246
6 changed files with 9 additions and 9 deletions

View file

@ -10,7 +10,7 @@ impl Error {
Self::Overwrite(key) => {
format!("Overwrite attempt for existing record `{key}`")
}
Self::Unexpected => format!("Unexpected error"),
Self::Unexpected => "Unexpected error".to_string(),
}
}
}