aboutsummaryrefslogtreecommitdiff
path: root/src/url.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-05-22 06:34:28 +0000
committerFuwn <[email protected]>2023-05-22 06:34:28 +0000
commitd21475c9cc8ae1be030d4676d4d8b0a2a26de504 (patch)
tree85a3162b5e582612989cc01a809c3c2742847d3e /src/url.rs
parentrefactor(src): rename files (diff)
downloadseptember-d21475c9cc8ae1be030d4676d4d8b0a2a26de504.tar.xz
september-d21475c9cc8ae1be030d4676d4d8b0a2a26de504.zip
deps(gmi): finally drop gmi
Diffstat (limited to 'src/url.rs')
-rw-r--r--src/url.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/url.rs b/src/url.rs
index c7cd60b..f5ab5d9 100644
--- a/src/url.rs
+++ b/src/url.rs
@@ -15,7 +15,7 @@
// Copyright (C) 2022-2023 Fuwn <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only
-use gmi::url::Url;
+use url::Url;
pub fn make(
path: &str,
@@ -23,7 +23,7 @@ pub fn make(
is_proxy: &mut bool,
is_raw: &mut bool,
is_nocss: &mut bool,
-) -> Result<Url, gmi::url::UrlParseError> {
+) -> Result<Url, url::ParseError> {
Ok(
match Url::try_from(&*if path.starts_with("/proxy") {
*is_proxy = true;