We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adb7de2 commit d47848eCopy full SHA for d47848e
src/tools/rust-analyzer/xtask/src/dist.rs
@@ -70,8 +70,11 @@ fn dist_client(
70
&format!(r#""version": "{version}""#),
71
)
72
.replace(r#""releaseTag": null"#, &format!(r#""releaseTag": "{release_tag}""#))
73
- .replace(r#""$generated-start": {},"#, "")
74
- .replace(",\n \"$generated-end\": {}", "")
+ .replace(
+ " {\n \"title\": \"$generated-start\"\n },\n",
75
+ "",
76
+ )
77
+ .replace(" { \"title\": \"$generated-end\" }\n", "")
78
.replace(r#""enabledApiProposals": [],"#, r#""#);
79
patch.commit(sh)?;
80
0 commit comments