From 3198a790a196b99b27beff080c4fc4a62272b916 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Tue, 4 Jun 2024 18:59:43 +0100 Subject: [PATCH] fix clippy --tests --- src/lsp/jsonrpc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lsp/jsonrpc.rs b/src/lsp/jsonrpc.rs index bf00ca0..4b7617c 100644 --- a/src/lsp/jsonrpc.rs +++ b/src/lsp/jsonrpc.rs @@ -197,7 +197,7 @@ mod tests { fn test(input: Value) { let deserialized = from_value::(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); }