Skip to content

Commit ce6eecf

Browse files
committed
Lints
1 parent dac44f3 commit ce6eecf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

na-openxr-info/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
///! Based on https://github.com/Ralith/openxrs/blob/master/openxr/examples/hello.rs
1+
//! Based on https://github.com/Ralith/openxrs/blob/master/openxr/examples/hello.rs
22
use openxr as xr;
33

44
#[cfg(target_os = "android")]

na-winit-glutin/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ impl App {
245245
.build(Some(raw_window_handle));
246246
unsafe {
247247
glutin_display
248-
.create_context(&config, &context_attributes)
248+
.create_context(config, &context_attributes)
249249
.unwrap_or_else(|_| {
250250
glutin_display
251251
.create_context(config, &fallback_context_attributes)
@@ -268,7 +268,7 @@ impl App {
268268
}
269269

270270
fn ensure_surface_and_context<T>(&mut self, event_loop: &EventLoopWindowTarget<T>) {
271-
let window = winit::window::Window::new(&event_loop).unwrap();
271+
let window = winit::window::Window::new(event_loop).unwrap();
272272
let raw_window_handle = window.raw_window_handle();
273273

274274
// Lazily initialize, egl, wgl, glx etc

0 commit comments

Comments
 (0)