Skip to content

Commit

Permalink
Lints
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Oct 25, 2023
1 parent 58cf377 commit 455ddd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion na-openxr-info/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
///! Based on https://github.com/Ralith/openxrs/blob/master/openxr/examples/hello.rs
//! Based on https://github.com/Ralith/openxrs/blob/master/openxr/examples/hello.rs
use openxr as xr;

#[cfg(target_os = "android")]
Expand Down
4 changes: 2 additions & 2 deletions na-winit-glutin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ impl App {
.build(Some(raw_window_handle));
unsafe {
glutin_display
.create_context(&config, &context_attributes)
.create_context(config, &context_attributes)
.unwrap_or_else(|_| {
glutin_display
.create_context(config, &fallback_context_attributes)
Expand All @@ -268,7 +268,7 @@ impl App {
}

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

// Lazily initialize, egl, wgl, glx etc
Expand Down

0 comments on commit 455ddd6

Please sign in to comment.