Skip to content

Commit

Permalink
fix: Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
timonv committed Sep 16, 2024
1 parent 16e9c74 commit ce17981
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion swiftide-core/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use serde::{Deserialize, Serialize};

use crate::{
metadata::Metadata,
util::{debug_long_utf8, safe_truncate_utf8},
util::debug_long_utf8,
Embedding, SparseEmbedding,
};

Expand Down
4 changes: 2 additions & 2 deletions swiftide-core/src/query_evaluation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ impl std::fmt::Debug for QueryEvaluation {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
QueryEvaluation::RetrieveDocuments(query) => {
write!(f, "RetrieveDocuments({:?})", query)
write!(f, "RetrieveDocuments({query:?})")
}
QueryEvaluation::AnswerQuery(query) => write!(f, "AnswerQuery({:?})", query),
QueryEvaluation::AnswerQuery(query) => write!(f, "AnswerQuery({query:?})"),
}
}
}
Expand Down

0 comments on commit ce17981

Please sign in to comment.