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); }