mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 09:10:08 +00:00
remove return value
This commit is contained in:
parent
baccf427c1
commit
dd6e0a3df6
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user