Skip to content

Commit

Permalink
fix clippy --tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteTK authored and pr2502 committed Jun 4, 2024
1 parent 850a472 commit 3198a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lsp/jsonrpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ mod tests {

fn test(input: Value) {
let deserialized = from_value::<Message>(input.clone()).expect("failed to deserialize");
let serialized = to_value(&deserialized).expect("failed to serialize");
let serialized = to_value(deserialized).expect("failed to serialize");
assert_eq!(input, serialized);
}

Expand Down

0 comments on commit 3198a79

Please sign in to comment.