aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-06-01 00:58:29 +0000
committerFuwn <[email protected]>2022-06-01 00:58:29 +0000
commit889cd693ce474683d25212038926d2a91fb9e14d (patch)
tree0a88bb60445c268da46d84f45bd5ce6e6e44650f /src/lib.rs
parentdocs(cargo): bump version (diff)
downloadwindmark-889cd693ce474683d25212038926d2a91fb9e14d.tar.xz
windmark-889cd693ce474683d25212038926d2a91fb9e14d.zip
fix(lib.rs): response content no leading whitespace
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 20087e6..19cb235 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -497,7 +497,7 @@ impl Router {
},
match response_status {
20 => format!("{}{}\n{}", header, content, footer),
- 21 => format!(" {}", content),
+ 21 => content.to_string(),
_ => "".to_string(),
}
)