From 8f55c2c3627c2798dc8e29a4750439ebe6008d1a Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 15 Jan 2025 08:45:22 +0200 Subject: [PATCH] rename `uri` mod to `search` --- .../browser/window/tab/item/page/client/feature/request.rs | 4 ++-- .../item/page/client/feature/request/{uri.rs => search.rs} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/app/browser/window/tab/item/page/client/feature/request/{uri.rs => search.rs} (100%) diff --git a/src/app/browser/window/tab/item/page/client/feature/request.rs b/src/app/browser/window/tab/item/page/client/feature/request.rs index 98400da6..2c009168 100644 --- a/src/app/browser/window/tab/item/page/client/feature/request.rs +++ b/src/app/browser/window/tab/item/page/client/feature/request.rs @@ -1,4 +1,4 @@ -mod uri; +mod search; // Global dependencies use gtk::glib::{Uri, UriFlags}; @@ -23,7 +23,7 @@ impl Request { // Search request if the request could not be parsed as the valid [URI](https://docs.gtk.org/glib/struct.Uri.html) // * @TODO implement DNS resolver lookup before assign this option Err(_) => Self::Gemini { - uri: uri::tgls(request), + uri: search::tgls(request), }, } } diff --git a/src/app/browser/window/tab/item/page/client/feature/request/uri.rs b/src/app/browser/window/tab/item/page/client/feature/request/search.rs similarity index 100% rename from src/app/browser/window/tab/item/page/client/feature/request/uri.rs rename to src/app/browser/window/tab/item/page/client/feature/request/search.rs