diff options
| author | Fuwn <[email protected]> | 2023-05-22 06:34:28 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-05-22 06:34:28 +0000 |
| commit | d21475c9cc8ae1be030d4676d4d8b0a2a26de504 (patch) | |
| tree | 85a3162b5e582612989cc01a809c3c2742847d3e /src/url.rs | |
| parent | refactor(src): rename files (diff) | |
| download | september-d21475c9cc8ae1be030d4676d4d8b0a2a26de504.tar.xz september-d21475c9cc8ae1be030d4676d4d8b0a2a26de504.zip | |
deps(gmi): finally drop gmi
Diffstat (limited to 'src/url.rs')
| -rw-r--r-- | src/url.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |