Skip to content

Commit

Permalink
ci: fix bench (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Sep 29, 2022
1 parent 8aa7d61 commit e8877e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bench/tests/src/cpu_intensive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn main() -> wry::Result<()> {
.with_custom_protocol("wry.bench".into(), move |request| {
let path = request.uri().to_string();
let requested_asset_path = path.strip_prefix("wry.bench://").unwrap();
let (data, mimetype) = match requested_asset_path {
let (data, mimetype): (Vec<u8>, _) = match requested_asset_path {
"/index.css" => (
include_bytes!("static/index.css").to_vec(),
"text/css".into(),
Expand Down
2 changes: 1 addition & 1 deletion bench/tests/src/custom_protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn main() -> wry::Result<()> {
exit(0);
}
};
let webview = WebViewBuilder::new(window)
let _webview = WebViewBuilder::new(window)
.unwrap()
.with_ipc_handler(handler)
.with_custom_protocol("wry.bench".into(), move |_request| {
Expand Down

0 comments on commit e8877e2

Please sign in to comment.