clippy fix

This commit is contained in:
microproofs 2023-04-26 17:40:27 -04:00
parent c3184c544c
commit 8b11844282
1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ impl Server {
let request = lsp_server::Request { let request = lsp_server::Request {
id: CREATE_COMPILING_PROGRESS_TOKEN.to_string().into(), id: CREATE_COMPILING_PROGRESS_TOKEN.to_string().into(),
method: WorkDoneProgressCreate::METHOD.into(), method: WorkDoneProgressCreate::METHOD.into(),
params: serde_json::to_value(&params)?, params: serde_json::to_value(params)?,
}; };
connection connection
@ -707,7 +707,7 @@ impl Server {
let notification = lsp_server::Notification { let notification = lsp_server::Notification {
method: Progress::METHOD.into(), method: Progress::METHOD.into(),
params: serde_json::to_value(&params)?, params: serde_json::to_value(params)?,
}; };
connection connection