Skip to content

Commit

Permalink
refactor(web): satisfy unused_qualifications (#6121)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler authored Aug 15, 2024
1 parent 23e7846 commit abc5641
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions wgpu-hal/src/gles/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,8 @@ impl Instance {

fn create_context_options() -> js_sys::Object {
let context_options = js_sys::Object::new();
js_sys::Reflect::set(
&context_options,
&"antialias".into(),
&wasm_bindgen::JsValue::FALSE,
)
.expect("Cannot create context options");
js_sys::Reflect::set(&context_options, &"antialias".into(), &JsValue::FALSE)
.expect("Cannot create context options");
context_options
}
}
Expand Down

0 comments on commit abc5641

Please sign in to comment.