Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMimir committed Nov 8, 2023
1 parent 6f308d0 commit 9637d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/libs/error/src/actix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl Error {
/// Fix this
fn get_message_and_cause(&self) -> (Value, Option<String>) {
let message = match self {
Self::Validation(error) => serde_json::to_value(&error).expect("Bedja pusi k"),
Self::Validation(error) => serde_json::to_value(error).expect("Bedja pusi k"),
_ => Value::String(self.to_string()),
};
let cause = None;
Expand Down

0 comments on commit 9637d51

Please sign in to comment.