mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove return value
This commit is contained in:
parent
baccf427c1
commit
dd6e0a3df6
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue