We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e100619 commit 3c302baCopy full SHA for 3c302ba
CHANGELOG.md
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
22
- Added `#![cfg_attr(docsrs, feature(doc_auto_cfg))]` to the generated library code. This
23
adds a display of the feature gates in the documentation of the generated library
24
- Split on the start of attribute instead of the end
25
+- Disable whitespace merging in `respace`
26
27
## [v0.35.0] - 2024-11-12
28
src/util.rs
@@ -148,10 +148,7 @@ pub fn sanitize_keyword(sc: Cow<str>) -> Cow<str> {
148
}
149
150
pub fn respace(s: &str) -> String {
151
- s.split_whitespace()
152
- .collect::<Vec<_>>()
153
- .join(" ")
154
- .replace(r"\n", "\n")
+ s.replace(r"\n", "\n")
155
156
157
pub fn escape_brackets(s: &str) -> String {
0 commit comments