Skip to content

Commit

Permalink
remove return value
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Dec 12, 2024
1 parent baccf42 commit dd6e0a3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/browser/window/tab/item/page/navigation/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand All @@ -184,9 +184,8 @@ impl Request {
Ok(_) => Some(url),
Err(_) => None,
})
});
})
}
None
}
}

Expand Down

0 comments on commit dd6e0a3

Please sign in to comment.