mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-25 11:17:13 +00:00
Rephrase comment
This commit is contained in:
parent
582af7ee9c
commit
788acba2dd
@ -80,9 +80,9 @@ pub struct Request {
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Response {
|
||||
// JSON RPC allows this to be null if it was impossible
|
||||
// to decode the request's id. Ignore this special case
|
||||
// and just die horribly.
|
||||
// JSON-RPC allows this to be null if we can't find or parse the
|
||||
// request id. We fail deserialization in that case, so we just
|
||||
// make this field mandatory.
|
||||
pub id: RequestId,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub result: Option<serde_json::Value>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user