From 308ada8111a4b85eedf43b38cf582ee3ba293f0a Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 12 Oct 2024 11:16:12 +0300 Subject: [PATCH] use Self as type --- .../tab/item/page/content/text/gemini/reader/parser/link.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/page/content/text/gemini/reader/parser/link.rs b/src/app/browser/window/tab/item/page/content/text/gemini/reader/parser/link.rs index f62cc512..1ee5df3f 100644 --- a/src/app/browser/window/tab/item/page/content/text/gemini/reader/parser/link.rs +++ b/src/app/browser/window/tab/item/page/content/text/gemini/reader/parser/link.rs @@ -8,7 +8,7 @@ pub struct Link { } impl Link { - pub fn from(line: &str, to_base: Option<&Uri>) -> Option { + pub fn from(line: &str, to_base: Option<&Uri>) -> Option { // Define initial values let mut alt = None; let mut date = None;