Run cargo clippy --fix

This commit is contained in:
2024-05-01 17:16:04 +01:00
parent a640d97efb
commit ec98297a8a
3 changed files with 8 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ impl Display for Error {
Error::Token(e) => write!(f, "Token error: {}", e),
Error::Serde(e) => write!(f, "Serde error: {}", e),
Error::VertexError(e) => {
write!(f, "Vertex error: {}", e.to_string())
write!(f, "Vertex error: {}", e)
}
Error::NoCandidatesError => {
write!(f, "No candidates returned for the prompt")