1
0
mirror of https://github.com/YGGverse/Yoda.git synced 2025-01-24 10:04:16 +00:00

remove return value

This commit is contained in:
yggverse 2024-12-12 22:05:10 +02:00
parent baccf427c1
commit dd6e0a3df6

@ -167,7 +167,7 @@ impl Request {
resolver_timeout: u32, resolver_timeout: u32,
cancellable: Option<&Cancellable>, cancellable: Option<&Cancellable>,
callback: impl FnOnce(Option<GString>) + 'static, callback: impl FnOnce(Option<GString>) + 'static,
) -> Option<GString> { ) {
// suggest scheme // suggest scheme
let url = gformat!("gemini://{}", self.strip_prefix().trim()); let url = gformat!("gemini://{}", self.strip_prefix().trim());
@ -184,9 +184,8 @@ impl Request {
Ok(_) => Some(url), Ok(_) => Some(url),
Err(_) => None, Err(_) => None,
}) })
}); })
} }
None
} }
} }