remove return value

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

View File

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