File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 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/).
2222- Added ` #![cfg_attr(docsrs, feature(doc_auto_cfg))] ` to the generated library code. This
2323 adds a display of the feature gates in the documentation of the generated library
2424- Split on the start of attribute instead of the end
25+ - Disable whitespace merging in ` respace `
2526
2627## [ v0.35.0] - 2024-11-12
2728
Original file line number Diff line number Diff line change @@ -148,10 +148,7 @@ pub fn sanitize_keyword(sc: Cow<str>) -> Cow<str> {
148148}
149149
150150pub 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 " )
155152}
156153
157154pub fn escape_brackets ( s : & str ) -> String {
You can’t perform that action at this time.
0 commit comments