Skip to content

Commit

Permalink
chore(bench): fix benchmark compilation error (#1029)
Browse files Browse the repository at this point in the history
Signed-off-by: rhysd <lin90162@yahoo.co.jp>
  • Loading branch information
rhysd authored Oct 2, 2023
1 parent d87ea78 commit a179e37
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 @@ -50,7 +50,7 @@ fn main() -> wry::Result<()> {
Response::builder()
.header(CONTENT_TYPE, mimetype)
.body(data)
.map_err(Into::into)
.unwrap()
})
.with_url("wrybench://localhost")?
.with_ipc_handler(handler)
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 @@ -54,7 +54,7 @@ fn main() -> wry::Result<()> {
Response::builder()
.header(CONTENT_TYPE, "text/html")
.body(INDEX_HTML.into())
.map_err(Into::into)
.unwrap()
})
.with_url("wrybench://localhost")?
.build()?;
Expand Down

0 comments on commit a179e37

Please sign in to comment.