Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 9b1978a

Browse files
bors[bot]Moritz Vetter
andauthored
11427: add missing snake case attribute, update hash r=lnicola a=HansAuger Fix for rust-lang#11414 Co-authored-by: Moritz Vetter <[email protected]>
2 parents ba33054 + 482533e commit 9b1978a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/rust-analyzer/src/lsp_ext.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ impl Request for WorkspaceSymbol {
496496
}
497497

498498
#[derive(Debug, Eq, PartialEq, Clone, Default, Deserialize, Serialize)]
499+
#[serde(rename_all = "camelCase")]
499500
pub struct WorkspaceSymbolParams {
500501
#[serde(flatten)]
501502
pub partial_result_params: PartialResultParams,

docs/dev/lsp-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!---
2-
lsp_ext.rs hash: 49ffd619919ed74
2+
lsp_ext.rs hash: 5b53b92c9f9d6650
33
44
If you need to change the above hash to make the test pass, please check if you
55
need to adjust this doc as well and ping this issue:

0 commit comments

Comments
 (0)