mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Remove RawResponse::empty()
This commit is contained in:
parent
33cebe1724
commit
6eb45c1c2b
2 changed files with 5 additions and 7 deletions
|
@ -425,8 +425,11 @@ impl<'a> PoolDispatcher<'a> {
|
|||
// ErrorCode::ContentModified as i32,
|
||||
// "content modified".to_string(),
|
||||
// )
|
||||
RawResponse::empty(id)
|
||||
|
||||
RawResponse {
|
||||
id,
|
||||
result: Some(serde_json::to_value(&()).unwrap()),
|
||||
error: None,
|
||||
}
|
||||
} else {
|
||||
RawResponse::err(
|
||||
id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue