aboutsummaryrefslogtreecommitdiff
path: root/src/router.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-05-05 00:31:39 +0000
committerFuwn <[email protected]>2023-05-05 00:31:39 +0000
commit230dd1877f906708dc487bf5c4d87a8769b680fb (patch)
tree2ffe4537cf9e5c991e702e2528f56bdd4a5a16ac /src/router.rs
parentdocs(readme): rossweisse info (diff)
downloadwindmark-230dd1877f906708dc487bf5c4d87a8769b680fb.tar.xz
windmark-230dd1877f906708dc487bf5c4d87a8769b680fb.zip
refactor: simplify imports
Diffstat (limited to 'src/router.rs')
-rw-r--r--src/router.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router.rs b/src/router.rs
index 554651a..5532182 100644
--- a/src/router.rs
+++ b/src/router.rs
@@ -359,7 +359,7 @@ impl Router {
url = or_error!(
stream,
- url::Url::parse(&request.replace("\r\n", "")),
+ Url::parse(&request.replace("\r\n", "")),
"59 The server (Windmark) received a bad request: {}"
);