1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

clippy fixes for rust 1.53

This commit is contained in:
Emil Ernerfeldt
2021-06-22 23:25:54 +02:00
parent 60fd70921d
commit 269a4538d9
11 changed files with 24 additions and 25 deletions

View File

@@ -28,7 +28,7 @@ async fn fetch_jsvalue(request: &Request) -> Result<Response, JsValue> {
opts.body(Some(&JsValue::from_str(body)));
}
let request = web_sys::Request::new_with_str_and_init(&url, &opts)?;
let request = web_sys::Request::new_with_str_and_init(url, &opts)?;
request.headers().set("Accept", "*/*")?;
let window = web_sys::window().unwrap();