File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
22
22
- Added ` #![cfg_attr(docsrs, feature(doc_auto_cfg))] ` to the generated library code. This
23
23
adds a display of the feature gates in the documentation of the generated library
24
24
- Split on the start of attribute instead of the end
25
+ - Disable whitespace merging in ` respace `
25
26
26
27
## [ v0.35.0] - 2024-11-12
27
28
Original file line number Diff line number Diff line change @@ -148,10 +148,7 @@ pub fn sanitize_keyword(sc: Cow<str>) -> Cow<str> {
148
148
}
149
149
150
150
pub fn respace ( s : & str ) -> String {
151
- s. split_whitespace ( )
152
- . collect :: < Vec < _ > > ( )
153
- . join ( " " )
154
- . replace ( r"\n" , "\n " )
151
+ s. replace ( r"\n" , "\n " )
155
152
}
156
153
157
154
pub fn escape_brackets ( s : & str ) -> String {
You can’t perform that action at this time.
0 commit comments