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