We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1760b5e commit 663e151Copy full SHA for 663e151
CHANGELOG.md
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
8
## [Unreleased]
9
10
- Use marker struct instead of address in `Periph` with `PeripheralSpec` trait
11
+- Disable whitespace merging in `respace`
12
13
## [v0.37.1] - 2025-10-17
14
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